UI tweaks

This commit is contained in:
Serge
2024-03-13 18:41:33 +01:00
parent a06f7f6810
commit a02f6c595f
2 changed files with 8 additions and 6 deletions

View File

@@ -179,6 +179,8 @@ namespace GHelper
{
case UserPreferenceCategory.General:
bool changed = settingsForm.InitTheme();
settingsForm.VisualiseIcon();
if (changed)
{
Debug.WriteLine("Theme Changed");
@@ -197,11 +199,8 @@ namespace GHelper
if (settingsForm.matrixForm is not null && settingsForm.matrixForm.Text != "")
settingsForm.matrixForm.InitTheme();
if (settingsForm.handheldForm is not null && settingsForm.handheldForm.Text != "")
{
if (settingsForm.handheldForm is not null && settingsForm.handheldForm.Text != "")
settingsForm.handheldForm.InitTheme();
settingsForm.VisualiseIcon();
}
break;
}