Fix not being able to change theme

This commit is contained in:
Lorem 2020-06-14 13:56:15 +05:30
parent 24d2a2d821
commit e1706f4df5
1 changed files with 1 additions and 1 deletions

View File

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