Add phrases and layout for all events in log.

This commit is contained in:
John Preston
2017-06-20 19:03:18 +03:00
parent fee8690ca6
commit 4962fdf5ae
15 changed files with 454 additions and 105 deletions
@@ -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();
}