Fall back to Sans if no font setting found

Sigh...
This commit is contained in:
oldmud0 2019-07-27 21:19:45 -05:00 committed by GitHub
parent c09fdc49a7
commit 56ddd024eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -232,6 +232,8 @@ QString AOApplication::get_font_name(QString p_identifier, QString p_file)
if (f_result == "")
{
f_result = read_design_ini(p_identifier, default_path);
if (f_result == "")
return "Sans";
}
return f_result;
}