[longomatch/redesign2: 148/159] Add newly created template to the list



commit bf8924d8bba534a91d5afdd731f8700b96c8c74a
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Thu Apr 28 21:38:15 2011 +0200

    Add newly created template to the list

 LongoMatch/Gui/Component/CategoryProperties.cs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch/Gui/Component/CategoryProperties.cs b/LongoMatch/Gui/Component/CategoryProperties.cs
index 34537a8..70eecb6 100644
--- a/LongoMatch/Gui/Component/CategoryProperties.cs
+++ b/LongoMatch/Gui/Component/CategoryProperties.cs
@@ -203,6 +203,8 @@ namespace LongoMatch.Gui.Component
 				if (template == null || template.Count == 0)
 					return;
 				
+				model.AppendValues(String.Format("[{0}] {1}",Catalog.GetString("Tags"), template.Name),
+				                   template);
 				subcategoriesTemplates.Save(template);
 				subcatcombobox.Active = 1;
 				return;



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