Fix default font problem

This commit is contained in:
Nicolas Mailloux 2021-03-30 07:16:41 -04:00
parent 83777b6482
commit e759edc216

View file

@ -66,7 +66,8 @@ reader::reader(QWidget *parent) :
// Font // Font
string_checkconfig(".config/04-book/font"); string_checkconfig(".config/04-book/font");
if(checkconfig_str_val == "") { if(checkconfig_str_val == "") {
; ui->fontChooser->setCurrentText(checkconfig_str_val);
ui->text->setFont(QFont("Inter"));
} }
else { else {
if(checkconfig_str_val == "Crimson Pro") { if(checkconfig_str_val == "Crimson Pro") {