Merge pull request #220 from not-chicken/theme

Fix not being able to change theme
This commit is contained in:
DeepBlueV7.X 2020-06-14 13:45:39 +02:00 committed by GitHub
commit 887ad25ab7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -271,7 +271,7 @@ UserSettings::setPresence(Presence state)
void void
UserSettings::setTheme(QString theme) UserSettings::setTheme(QString theme)
{ {
if (theme == theme) if (theme == theme_)
return; return;
theme_ = theme; theme_ = theme;
save(); save();