mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-31 17:41:16 +00:00
Add phrases and layout for all events in log.
This commit is contained in:
@@ -650,7 +650,8 @@ void ThemeExportBox::chooseBackgroundFromFile() {
|
||||
_background = image;
|
||||
_backgroundContent = content;
|
||||
_isPng = (format == "png");
|
||||
_imageText = (_isPng ? lng_theme_editor_read_from_png : lng_theme_editor_read_from_jpg)(lt_size, formatSizeText(_backgroundContent.size()));
|
||||
auto sizeText = formatSizeText(_backgroundContent.size());
|
||||
_imageText = _isPng ? lng_theme_editor_read_from_png(lt_size, sizeText) : lng_theme_editor_read_from_jpg(lt_size, sizeText);
|
||||
_tileBackground->setChecked(false);
|
||||
updateThumbnail();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user