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



commit 683c83231e18408e0b1c98421ab134de90a8ff79
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]