Skip to content

Commit

Permalink
Fixed incorrect action type of userpic change with image from clipboard.
Browse files Browse the repository at this point in the history
Fixed #28731.
  • Loading branch information
23rd committed Dec 16, 2024
1 parent 15c226e commit fef133b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Telegram/SourceFiles/ui/controls/userpic_button.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,8 @@ void UserpicButton::choosePhotoLocally() {
Editor::PrepareProfilePhoto(
this,
_window,
editorData(ChosenType::Set),
callback(ChosenType::Set),
editorData(type),
callback(type),
qvariant_cast<QImage>(data->imageData()));
});
_menu->addAction(
Expand Down

0 comments on commit fef133b

Please sign in to comment.