fixed messages not redrawing after changing theme

This commit is contained in:
fourtf
2017-12-19 01:54:51 +01:00
parent ded61256de
commit 4010c49c84
2 changed files with 7 additions and 1 deletions
+2
View File
@@ -290,6 +290,8 @@ QVBoxLayout *SettingsDialog::createAppearanceTab()
combo->setCurrentText(currentComboText);
QObject::connect(combo, &QComboBox::currentTextChanged, this, [](const QString &value) {
// dirty hack
EmoteManager::getInstance().incGeneration();
pajlada::Settings::Setting<std::string>::set("/appearance/theme/name",
value.toStdString());
});