mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Fix setting emoji font
This commit is contained in:
parent
7d2fe812a2
commit
3e958ea382
1 changed files with 2 additions and 2 deletions
|
@ -1499,8 +1499,8 @@ UserSettingsModel::setData(const QModelIndex &index, const QVariant &value, int
|
|||
return false;
|
||||
}
|
||||
case EmojiFont: {
|
||||
if (value.userType() == QMetaType::QString) {
|
||||
i->setFontFamily(
|
||||
if (value.userType() == QMetaType::Int) {
|
||||
i->setEmojiFontFamily(
|
||||
fontDb.families(QFontDatabase::WritingSystem::Symbol).at(value.toInt()));
|
||||
return true;
|
||||
} else
|
||||
|
|
Loading…
Reference in a new issue