[longomatch] Make sure the tagproperties widget is not sensitive when the Template changes. It should only be ree
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Make sure the tagproperties widget is not sensitive when the Template changes. It should only be ree
- Date: Wed, 24 Sep 2014 20:19:54 +0000 (UTC)
commit d213dc7f56e05746b5c17910a64512ad1c888c30
Author: Julien Moutte <julien fluendo com>
Date: Fri Aug 29 18:13:06 2014 +0200
Make sure the tagproperties widget is not sensitive when the Template changes. It should only be
reenabled when something gets selected.
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 87c3b59..ade0b00 100644
--- a/LongoMatch.GUI/Gui/Component/DashboardWidget.cs
+++ b/LongoMatch.GUI/Gui/Component/DashboardWidget.cs
@@ -137,6 +137,8 @@ namespace LongoMatch.Gui.Component
hfieldimage.Pixbuf = value.HalfFieldBackground.Scale (50, 50).Value;
goalimage.Pixbuf = value.GoalBackground.Scale (50, 50).Value;
Edited = false;
+ // Start with disabled widget until something get selected
+ tagproperties.Sensitive = false;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]