mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Fixed rare crash in photo editor when editing media in message.
This commit is contained in:
@@ -206,6 +206,9 @@ void EditPhotoImage(
|
||||
Storage::UpdateImageDetails(file, previewWidth, sideLimit);
|
||||
done(std::move(list));
|
||||
};
|
||||
if (!large) {
|
||||
return;
|
||||
}
|
||||
const auto fileImage = std::make_shared<Image>(*large);
|
||||
auto editor = base::make_unique_q<Editor::PhotoEditor>(
|
||||
parent,
|
||||
|
||||
Reference in New Issue
Block a user