Skip to content

Commit

Permalink
opt:web font preference ,set a default valut to empty
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyifang committed May 19, 2022
1 parent d73956b commit 0bd724b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions preferences.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 0bd724b

Please sign in to comment.