opt:web font preference ,set a default valut to empty

This commit is contained in:
Xiao YiFang 2022-05-19 08:29:50 +08:00
parent d73956b90d
commit 0bd724b313

View file

@ -380,6 +380,8 @@ Config::Preferences Preferences::getPreferences()
//bypass the first default
if(ui.fontFamilies->currentIndex()>0)
p.webFontFamily = ui.fontFamilies->currentText();
else
p.webFontFamily = "";
p.helpLanguage =
ui.helpLanguage->itemData(