[longomatch] Fix Defined check for HotKey



commit fe08ae6c9e2751e7038d0a5ad26c2278ae5cfd5f
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Mon Mar 2 17:53:30 2015 +0100

    Fix Defined check for HotKey

 LongoMatch.Core/Store/HotKey.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.Core/Store/HotKey.cs b/LongoMatch.Core/Store/HotKey.cs
index 309a96d..9da973a 100644
--- a/LongoMatch.Core/Store/HotKey.cs
+++ b/LongoMatch.Core/Store/HotKey.cs
@@ -66,7 +66,7 @@ namespace LongoMatch.Core.Store
                [JsonIgnore]
                public Boolean Defined {
                        get {
-                               return (Key != -1 || Modifier != -1);
+                               return (Key != -1);
                        }
                }
                #endregion


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]