2
0
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:
23rd
2021-02-20 10:52:48 +03:00
parent 671a06c407
commit d1b6cf1fae
7 changed files with 111 additions and 31 deletions

View File

@@ -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 {