mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fixed incorrect action type of userpic change with image from clipboard.
Fixed #28731.
This commit is contained in:
parent
15c226e6cf
commit
fef133bf0a
1 changed files with 2 additions and 2 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue