mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-27 06:53:01 +00:00
GUI: fix header font not saving at all
This commit is contained in:
parent
13cfef02a7
commit
673ff6ebb6
1 changed files with 2 additions and 2 deletions
|
@ -3121,7 +3121,7 @@ void FurnaceGUI::commitSettings() {
|
||||||
e->setConf("tg100Path",settings.tg100Path);
|
e->setConf("tg100Path",settings.tg100Path);
|
||||||
e->setConf("mu5Path",settings.mu5Path);
|
e->setConf("mu5Path",settings.mu5Path);
|
||||||
e->setConf("mainFont",settings.mainFont);
|
e->setConf("mainFont",settings.mainFont);
|
||||||
e->setConf("headFont",settings.mainFont);
|
e->setConf("headFont",settings.headFont);
|
||||||
e->setConf("patFont",settings.patFont);
|
e->setConf("patFont",settings.patFont);
|
||||||
e->setConf("mainFontPath",settings.mainFontPath);
|
e->setConf("mainFontPath",settings.mainFontPath);
|
||||||
e->setConf("headFontPath",settings.headFontPath);
|
e->setConf("headFontPath",settings.headFontPath);
|
||||||
|
@ -3967,7 +3967,7 @@ void FurnaceGUI::applyUISettings(bool updateFonts) {
|
||||||
settings.mainFont=0;
|
settings.mainFont=0;
|
||||||
}
|
}
|
||||||
if (settings.headFont==6 && settings.headFontPath.empty()) {
|
if (settings.headFont==6 && settings.headFontPath.empty()) {
|
||||||
logW("UI font path is empty! reverting to default font");
|
logW("header font path is empty! reverting to default font");
|
||||||
settings.headFont=0;
|
settings.headFont=0;
|
||||||
}
|
}
|
||||||
if (settings.patFont==6 && settings.patFontPath.empty()) {
|
if (settings.patFont==6 && settings.patFontPath.empty()) {
|
||||||
|
|
Loading…
Reference in a new issue