[longomatch/redesign2: 138/140] Add newly created template to the list



commit cceb6f8f9b280418ee160fd623036ccb0fa8f746
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]