Skip to content

Commit

Permalink
Fixed default font obtaining
Browse files Browse the repository at this point in the history
  • Loading branch information
vtronko committed Aug 26, 2016
1 parent 5775fc5 commit b15c7f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PreferencesDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ QVariant PreferencesDialog::getSettingsDefaultValue(const QString& group, const
if(group == "databrowser")
{
if(name == "font")
return "Sans Serif";
return QFont().defaultFamily();
if(name == "fontsize")
return 10;
if(name == "null_text")
Expand Down

0 comments on commit b15c7f2

Please sign in to comment.