[longomatch] Reset selection after removing projects



commit 95ae0061d2ce5561bcc02b55919ed1795d094360
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Sun Jun 22 14:00:01 2014 +0200

    Reset selection after removing projects

 LongoMatch.GUI/Gui/Component/ProjectListWidget.cs |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/ProjectListWidget.cs 
b/LongoMatch.GUI/Gui/Component/ProjectListWidget.cs
index 198e739..09ffb22 100644
--- a/LongoMatch.GUI/Gui/Component/ProjectListWidget.cs
+++ b/LongoMatch.GUI/Gui/Component/ProjectListWidget.cs
@@ -94,6 +94,9 @@ namespace LongoMatch.Gui.Component
                                this.projects.Remove(project);
                        }
                        Fill (this.projects);
+                       if (ProjectsSelected != null) {
+                               ProjectsSelected (new List<ProjectDescription> ());
+                       }
                }
 
                public void ClearSearch() {


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