[longomatch] Fix double category clicks with the editor



commit 697daa02a9049b0b4aa824df9233b7e2320ed20f
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Tue Oct 7 15:45:31 2014 +0200

    Fix double category clicks with the editor

 LongoMatch.Drawing/CanvasObjects/CategoryObject.cs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.Drawing/CanvasObjects/CategoryObject.cs 
b/LongoMatch.Drawing/CanvasObjects/CategoryObject.cs
index 97cdb27..8c2a520 100644
--- a/LongoMatch.Drawing/CanvasObjects/CategoryObject.cs
+++ b/LongoMatch.Drawing/CanvasObjects/CategoryObject.cs
@@ -99,6 +99,7 @@ namespace LongoMatch.Drawing.CanvasObjects
                {
                        if (tagsByGroup.Keys.Count == 1) {
                                TimerCallback (null);
+                               return;
                        }
                        if (timer == null) {
                                timer = new System.Threading.Timer (TimerCallback, null, TIMEOUT_MS, 0);


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