Fix Bug Where Theme Not applying to Debug Window

- Fixes a bug where the selected them wasn't applying to the debug window until the app was relaunched.
This commit is contained in:
Frog
2026-07-20 21:39:43 -07:00
parent f8e3ea6e3c
commit 9468134c1a
+4
View File
@@ -44,7 +44,11 @@ internal sealed partial class SettingsForm : CustomForm
ProgramData.SaveSettings(Program.AppSettings);
if (wasDarkModeEnabled != darkModeCheckBox.Checked)
{
ThemeManager.ApplyToAllOpenForms();
if (DebugForm.IsOpen)
ThemeManager.Apply(DebugForm.Current);
}
if (wasSortByName != sortByNameCheckBox.Checked)
MainForm.Current?.UpdateSortOrder(sortByNameCheckBox.Checked);