close emoji autocompleter if space typed after : issue #433 and adds default option for emoji font family settings

This commit is contained in:
Jedi18 2021-02-05 21:52:49 +05:30
parent e0207ff337
commit f02342fe22
2 changed files with 5 additions and 0 deletions

View file

@ -725,6 +725,7 @@ UserSettingsPage::UserSettingsPage(QSharedPointer<UserSettings> settings, QWidge
// TODO: Is there a way to limit to just emojis, rather than
// all emoji fonts?
auto emojiFamilies = fontDb.families(QFontDatabase::Symbol);
emojiFontSelectionCombo_->addItem(QString("default"));
for (const auto &family : emojiFamilies) {
emojiFontSelectionCombo_->addItem(family);
}