From c7381131f010eb4444abc7ede1cd167dff39ebe9 Mon Sep 17 00:00:00 2001 From: Terry MacDonald Date: Sat, 27 Mar 2021 21:19:30 +1300 Subject: [PATCH] DisplayProfile updates properly DisplayProfile updates after a profile switch properly. The UI wasn't reflecting the proper changes after a profile change made from the DisplayProfile page, but now it does. --- DisplayMagician/UIForms/DisplayProfileForm.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/DisplayMagician/UIForms/DisplayProfileForm.cs b/DisplayMagician/UIForms/DisplayProfileForm.cs index e9fa68e..6d5f116 100644 --- a/DisplayMagician/UIForms/DisplayProfileForm.cs +++ b/DisplayMagician/UIForms/DisplayProfileForm.cs @@ -51,8 +51,10 @@ namespace DisplayMagician.UIForms } // Apply the Profile - Program.ApplyProfile(_selectedProfile); - + if (Program.ApplyProfile(_selectedProfile)) + { + ChangeSelectedProfile(_selectedProfile); + } }