[longomatch/newui: 152/157] When a new template is set or nothing is selected, make sure the tagger is null.



commit a658422e6d8abe80e549ea1c83edcc870f0cc5e1
Author: Julien Moutte <julien fluendo com>
Date:   Fri Aug 29 18:49:01 2014 +0200

    When a new template is set or nothing is selected, make sure the tagger is null.

 LongoMatch.GUI/Gui/Component/DashboardWidget.cs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/DashboardWidget.cs b/LongoMatch.GUI/Gui/Component/DashboardWidget.cs
index ade0b00..751b504 100644
--- a/LongoMatch.GUI/Gui/Component/DashboardWidget.cs
+++ b/LongoMatch.GUI/Gui/Component/DashboardWidget.cs
@@ -138,6 +138,7 @@ namespace LongoMatch.Gui.Component
                                goalimage.Pixbuf = value.GoalBackground.Scale (50, 50).Value;
                                Edited = false;
                                // Start with disabled widget until something get selected
+                               tagproperties.Tagger = null;
                                tagproperties.Sensitive = false;
                        }
                }
@@ -230,6 +231,7 @@ namespace LongoMatch.Gui.Component
                                tagproperties.Sensitive = true;
                        } else {
                                selected = null;
+                               tagproperties.Tagger = null;
                                tagproperties.Sensitive = false;
                        }
                }


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