diff --git a/ColorControl/ColorControl.csproj b/ColorControl/ColorControl.csproj
index 5d2f3a7..fb01e08 100644
--- a/ColorControl/ColorControl.csproj
+++ b/ColorControl/ColorControl.csproj
@@ -27,7 +27,7 @@
ColorControl
Maassoft
0
- 4.2.0.0
+ 4.2.2.0
false
true
true
diff --git a/ColorControl/Properties/AssemblyInfo.cs b/ColorControl/Properties/AssemblyInfo.cs
index 81134e4..4ebc782 100644
--- a/ColorControl/Properties/AssemblyInfo.cs
+++ b/ColorControl/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("4.2.0.0")]
-[assembly: AssemblyFileVersion("4.2.0.0")]
+[assembly: AssemblyVersion("4.2.2.0")]
+[assembly: AssemblyFileVersion("4.2.2.0")]
diff --git a/ColorControl/Utils.cs b/ColorControl/Utils.cs
index ee59a16..09f7aef 100644
--- a/ColorControl/Utils.cs
+++ b/ColorControl/Utils.cs
@@ -681,8 +681,6 @@ namespace ColorControl
//Debug.WriteLine("KD: " + e.Modifiers + ", " + e.KeyCode);
- var keysWithoutModifiers = new[] { Keys.F12 };
-
var shortcutString = (pressedModifiers > 0 ? pressedModifiers.ToString() : "");
if (keyEvent.KeyCode == Keys.LWin || WinKeyDown)
{
@@ -695,7 +693,7 @@ namespace ColorControl
}
var empty = string.IsNullOrEmpty(shortcutString);
- if ((!empty || keysWithoutModifiers.Contains(keyEvent.KeyCode)) && keyEvent.KeyCode != Keys.ControlKey && keyEvent.KeyCode != Keys.ShiftKey && keyEvent.KeyCode != Keys.Menu && keyEvent.KeyCode != Keys.LWin)
+ if ((!empty || KeysWithoutModifiers.Contains(keyEvent.KeyCode)) && keyEvent.KeyCode != Keys.ControlKey && keyEvent.KeyCode != Keys.ShiftKey && keyEvent.KeyCode != Keys.Menu && keyEvent.KeyCode != Keys.LWin)
{
if (!empty)
{