fix emoji set combobox not loading from settings
This commit is contained in:
@@ -148,6 +148,8 @@ AppearancePage::AppearancePage()
|
|||||||
combo->addItems({"EmojiOne 2", "EmojiOne 3", "Twitter", "Facebook", "Apple", "Google",
|
combo->addItems({"EmojiOne 2", "EmojiOne 3", "Twitter", "Facebook", "Apple", "Google",
|
||||||
"Messenger"});
|
"Messenger"});
|
||||||
|
|
||||||
|
combo->setCurrentText(getApp()->settings->emojiSet);
|
||||||
|
|
||||||
QObject::connect(combo, &QComboBox::currentTextChanged, [](const QString &str) {
|
QObject::connect(combo, &QComboBox::currentTextChanged, [](const QString &str) {
|
||||||
getApp()->settings->emojiSet = str; //
|
getApp()->settings->emojiSet = str; //
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user