[longomatch] Update background in template changes



commit a7e1af067e7d3a7e5beae5f9ed3e99835425abea
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Thu May 29 15:01:45 2014 +0200

    Update background in template changes

 LongoMatch.GUI/Gui/Panel/NewProjectPanel.cs |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Panel/NewProjectPanel.cs b/LongoMatch.GUI/Gui/Panel/NewProjectPanel.cs
index 37488e9..9747e7e 100644
--- a/LongoMatch.GUI/Gui/Panel/NewProjectPanel.cs
+++ b/LongoMatch.GUI/Gui/Panel/NewProjectPanel.cs
@@ -280,6 +280,9 @@ namespace LongoMatch.Gui.Panel
                void HandleSportsTemplateChanged (object sender, EventArgs e)
                {
                        analysisTemplate = Config.CategoriesTemplatesProvider.Load(tagscombobox.ActiveText);
+                       if (teamtagger != null) {
+                               teamtagger.LoadTeams (hometemplate, awaytemplate, 
analysisTemplate.FieldBackground);
+                       }
                }
 
                void HandleCreateProject (object sender, EventArgs e)


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