[longomatch] Fix Hotkey getter



commit 30a8150af5276b266c0650f87de20c195ef98637
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Mon Mar 2 14:41:02 2015 +0100

    Fix Hotkey getter

 LongoMatch.Core/Store/DashboardButton.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.Core/Store/DashboardButton.cs b/LongoMatch.Core/Store/DashboardButton.cs
index 02bc949..3b69f04 100644
--- a/LongoMatch.Core/Store/DashboardButton.cs
+++ b/LongoMatch.Core/Store/DashboardButton.cs
@@ -136,7 +136,7 @@ namespace LongoMatch.Core.Store
 
                public override HotKey HotKey {
                        get {
-                               return Tag.HotKey;
+                               return Tag != null ? Tag.HotKey : null;
                        }
                        set {
                                if (Tag != null) {


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