mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Added draft menu to EditCaptionBox to open photo editor.
This commit is contained in:
@@ -33,7 +33,7 @@ QImage ImageModified(QImage image, const PhotoModifications &mods) {
|
||||
}
|
||||
|
||||
bool PhotoModifications::empty() const {
|
||||
return !angle && !flipped && !crop.isValid();
|
||||
return !angle && !flipped && !crop.isValid() && !paint;
|
||||
}
|
||||
|
||||
PhotoModifications::operator bool() const {
|
||||
|
Reference in New Issue
Block a user