[longomatch] Unselect all objects when clearing the selections



commit c0898d34a44470328c4ca1f8cb72f4ff8edc8b24
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Thu Jun 19 12:46:06 2014 +0200

    Unselect all objects when clearing the selections

 LongoMatch.Drawing/Canvas.cs |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.Drawing/Canvas.cs b/LongoMatch.Drawing/Canvas.cs
index 7c85f09..078b26c 100644
--- a/LongoMatch.Drawing/Canvas.cs
+++ b/LongoMatch.Drawing/Canvas.cs
@@ -122,6 +122,10 @@ namespace LongoMatch.Drawing
                                po.Selected = false;
                                widget.ReDraw (po);
                        }
+                       foreach (ICanvasSelectableObject cso in Objects) {
+                               cso.Selected = false;
+                       }
+                       widget.ReDraw ();
                        Selections.Clear ();
                }
                


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