[longomatch/newui: 150/157] Make sure the player properties widget is not sensitive when the Template changes. It should only be



commit 9783734513ece218677f0e4b695fcdbd68bf48ec
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]