From 673ff6ebb6a30a74483849e278067330d58aae0d Mon Sep 17 00:00:00 2001 From: tildearrow Date: Fri, 4 Aug 2023 22:43:26 -0500 Subject: [PATCH] GUI: fix header font not saving at all --- src/gui/settings.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/settings.cpp b/src/gui/settings.cpp index 7f582f6c8..f053e6172 100644 --- a/src/gui/settings.cpp +++ b/src/gui/settings.cpp @@ -3121,7 +3121,7 @@ void FurnaceGUI::commitSettings() { e->setConf("tg100Path",settings.tg100Path); e->setConf("mu5Path",settings.mu5Path); e->setConf("mainFont",settings.mainFont); - e->setConf("headFont",settings.mainFont); + e->setConf("headFont",settings.headFont); e->setConf("patFont",settings.patFont); e->setConf("mainFontPath",settings.mainFontPath); e->setConf("headFontPath",settings.headFontPath); @@ -3967,7 +3967,7 @@ void FurnaceGUI::applyUISettings(bool updateFonts) { settings.mainFont=0; } 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; } if (settings.patFont==6 && settings.patFontPath.empty()) {