[longomatch] Fix buttons names for tags and timers



commit 2150e3a091fa5eddb2c16b44ed06ee695bf08088
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Mon Sep 8 15:54:54 2014 +0200

    Fix buttons names for tags and timers

 LongoMatch.Core/Store/DashboardButton.cs |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.Core/Store/DashboardButton.cs b/LongoMatch.Core/Store/DashboardButton.cs
index 050c7c6..5182941 100644
--- a/LongoMatch.Core/Store/DashboardButton.cs
+++ b/LongoMatch.Core/Store/DashboardButton.cs
@@ -124,6 +124,17 @@ namespace LongoMatch.Core.Store
                        get;
                        set;
                }
+
+               public override string Name {
+                       get {
+                               return Tag != null ? Tag.Value : null;
+                       }
+                       set {
+                               if (Tag != null) {
+                                       Tag.Value = value;
+                               }
+                       }
+               }
        }
 
        [Serializable]
@@ -133,6 +144,17 @@ namespace LongoMatch.Core.Store
                        get;
                        set;
                }
+
+               public override string Name {
+                       get {
+                               return Timer != null ? Timer.Name : null;
+                       }
+                       set {
+                               if (Timer != null) {
+                                       Timer.Name = value;
+                               }
+                       }
+               }
        }
 
        [Serializable]


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