fix emoji set combobox not loading from settings

This commit is contained in:
Rasmus Karlsson 2018-06-06 11:42:41 +02:00
parent 5724c7ef67
commit 3eab6150cf

View file

@ -148,6 +148,8 @@ AppearancePage::AppearancePage()
combo->addItems({"EmojiOne 2", "EmojiOne 3", "Twitter", "Facebook", "Apple", "Google",
"Messenger"});
combo->setCurrentText(getApp()->settings->emojiSet);
QObject::connect(combo, &QComboBox::currentTextChanged, [](const QString &str) {
getApp()->settings->emojiSet = str; //
});