[longomatch] Revert "Delete unused function"



commit 630075dedce11cc59995655c47fa0e2bc273ac2c
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Tue Oct 14 18:57:46 2014 +0200

    Revert "Delete unused function"
    
    This reverts commit 34cb1d8a594542b279ac27668c4b32f119205def.

 LongoMatch.Drawing/Widgets/DashboardCanvas.cs |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.Drawing/Widgets/DashboardCanvas.cs b/LongoMatch.Drawing/Widgets/DashboardCanvas.cs
index 497696b..282b524 100644
--- a/LongoMatch.Drawing/Widgets/DashboardCanvas.cs
+++ b/LongoMatch.Drawing/Widgets/DashboardCanvas.cs
@@ -130,6 +130,21 @@ namespace LongoMatch.Drawing.Widgets
                        }
                }
 
+               public void Refresh (DashboardButton b = null)
+               {
+                       TaggerObject to;
+                       
+                       if (Template == null) {
+                               return;
+                       }
+                       
+                       LoadTemplate ();
+                       to = (TaggerObject)Objects.FirstOrDefault (o => (o as TaggerObject).Tagger == b);
+                       if (to != null) {
+                               UpdateSelection (new Selection (to, SelectionPosition.All, 0));
+                       }
+               }
+
                protected override void ShowMenu (Point coords)
                {
                        Selection sel;


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