diff --git a/DisplayMagician/Properties/AssemblyInfo.cs b/DisplayMagician/Properties/AssemblyInfo.cs index 55b0b16..1cd9722 100644 --- a/DisplayMagician/Properties/AssemblyInfo.cs +++ b/DisplayMagician/Properties/AssemblyInfo.cs @@ -26,8 +26,8 @@ using System.Resources; [assembly: Guid("e4ceaf5e-ad01-4695-b179-31168eb74c48")] // Version information -[assembly: AssemblyVersion("2.1.0.67")] -[assembly: AssemblyFileVersion("2.1.0.67")] +[assembly: AssemblyVersion("2.1.0.71")] +[assembly: AssemblyFileVersion("2.1.0.71")] [assembly: NeutralResourcesLanguageAttribute( "en" )] [assembly: CLSCompliant(true)] diff --git a/DisplayMagician/UIForms/DisplayProfileForm.cs b/DisplayMagician/UIForms/DisplayProfileForm.cs index b828068..6bc4800 100644 --- a/DisplayMagician/UIForms/DisplayProfileForm.cs +++ b/DisplayMagician/UIForms/DisplayProfileForm.cs @@ -130,6 +130,9 @@ namespace DisplayMagician.UIForms } + // As this may impact which game shortcuts are now usable, also force a refresh of the game shortcuts validity + ShortcutRepository.IsValidRefresh(); + // Also refresh the right-click menu (if we have a main form loaded) if (Program.AppMainForm is Form) { diff --git a/DisplayMagician/UIForms/MainForm.cs b/DisplayMagician/UIForms/MainForm.cs index 5748e2c..9b60a55 100644 --- a/DisplayMagician/UIForms/MainForm.cs +++ b/DisplayMagician/UIForms/MainForm.cs @@ -351,10 +351,19 @@ namespace DisplayMagician.UIForms foreach (ProfileItem profile in ProfileRepository.AllProfiles) { ToolStripMenuItem profileMenuItem = new ToolStripMenuItem(profile.Name, profile.ProfileBitmap, runProfileToolStripMenuItem_Click); - if (profile.IsActive || !profile.IsPossible) + if (!profile.IsPossible) + { profileMenuItem.Enabled = false; - else + } + else if (profile.IsActive) + { profileMenuItem.Enabled = true; + profileMenuItem.Font = new Font(profileMenuItem.Font, FontStyle.Bold); + } + else + { + profileMenuItem.Enabled = true; + } profileToolStripMenuItem.DropDownItems.Add(profileMenuItem); }