Set a default font in the SQL tab too

Copied from Vlad's fix yesterday
This commit is contained in:
Justin Clift
2016-08-27 19:16:56 +01:00
parent 4f70f6a7a8
commit 49786e1309
+1 -1
View File
@@ -346,7 +346,7 @@ QVariant PreferencesDialog::getSettingsDefaultValue(const QString& group, const
// editor/font?
if(group == "editor" && name == "font")
return "Monospace";
return QFont().defaultFamily();
// editor/fontsize or log/fontsize?
if((group == "editor" || group == "log") && name == "fontsize")