From 8fd17e2e8fb275ecbf06d3893bc2c97886af419e Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 9 Sep 2019 08:53:16 +0300 Subject: [PATCH] Fix theme with background with colorizer. --- Telegram/SourceFiles/window/themes/window_theme_editor_box.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/window/themes/window_theme_editor_box.cpp b/Telegram/SourceFiles/window/themes/window_theme_editor_box.cpp index e9752ceef..ed14ff72d 100644 --- a/Telegram/SourceFiles/window/themes/window_theme_editor_box.cpp +++ b/Telegram/SourceFiles/window/themes/window_theme_editor_box.cpp @@ -821,7 +821,8 @@ void SaveThemeBox( const auto background = Background()->createCurrentImage(); const auto backgroundIsTiled = Background()->tile(); const auto changed = !Data::IsThemeWallPaper(Background()->paper()) - || originalParsed.background.isEmpty(); + || originalParsed.background.isEmpty() + || ColorizerForTheme(original.pathAbsolute); auto parsed = ParsedTheme(); parsed.palette = StripCloudTextFields(palette);