mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
fix emoji set combobox not loading from settings
This commit is contained in:
parent
5724c7ef67
commit
3eab6150cf
1 changed files with 2 additions and 0 deletions
|
@ -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; //
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue