Fixed incorrect action type of userpic change with image from clipboard.

Fixed #28731.
This commit is contained in:
23rd 2024-12-05 18:26:14 +03:00
parent 15c226e6cf
commit fef133bf0a

View file

@ -346,8 +346,8 @@ void UserpicButton::choosePhotoLocally() {
Editor::PrepareProfilePhoto( Editor::PrepareProfilePhoto(
this, this,
_window, _window,
editorData(ChosenType::Set), editorData(type),
callback(ChosenType::Set), callback(type),
qvariant_cast<QImage>(data->imageData())); qvariant_cast<QImage>(data->imageData()));
}); });
_menu->addAction( _menu->addAction(