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.
This commit is contained in:
Terry MacDonald 2021-03-27 21:19:30 +13:00
parent e913640751
commit c7381131f0

View File

@ -51,8 +51,10 @@ namespace DisplayMagician.UIForms
}
// Apply the Profile
Program.ApplyProfile(_selectedProfile);
if (Program.ApplyProfile(_selectedProfile))
{
ChangeSelectedProfile(_selectedProfile);
}
}