[longomatch] Make sure the player properties widget is not sensitive when the Template changes. It should only be
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Make sure the player properties widget is not sensitive when the Template changes. It should only be
- Date: Wed, 24 Sep 2014 20:19:59 +0000 (UTC)
commit 48d7ea824a26ddfb0761e1632640b3dc22e615ac
Author: Julien Moutte <julien fluendo com>
Date: Fri Aug 29 18:17:33 2014 +0200
Make sure the player properties widget is not sensitive when the Template changes. It should only be
reenabled when something gets selected.
LongoMatch.GUI/Gui/Component/TeamTemplateEditor.cs | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/TeamTemplateEditor.cs
b/LongoMatch.GUI/Gui/Component/TeamTemplateEditor.cs
index 3d10c47..3c3db3f 100644
--- a/LongoMatch.GUI/Gui/Component/TeamTemplateEditor.cs
+++ b/LongoMatch.GUI/Gui/Component/TeamTemplateEditor.cs
@@ -90,6 +90,8 @@ namespace LongoMatch.Gui.Component
teamtagger.LoadTeams (template, null, Config.HHalfFieldBackground);
ignoreChanges = false;
Edited = false;
+ // Start with disabled widget until something get selected
+ playerframe.Sensitive = false;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]