[longomatch] Add a default tag for real



commit 3f73fa75cd8c70836b598283ed71ebf95b310369
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Wed Apr 25 11:10:14 2012 +0200

    Add a default tag for real

 LongoMatch.GUI/Gui/Component/StringTaggerWidget.cs |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/StringTaggerWidget.cs b/LongoMatch.GUI/Gui/Component/StringTaggerWidget.cs
index df692e0..c73b63d 100644
--- a/LongoMatch.GUI/Gui/Component/StringTaggerWidget.cs
+++ b/LongoMatch.GUI/Gui/Component/StringTaggerWidget.cs
@@ -54,7 +54,9 @@ namespace LongoMatch.Gui.Component
 			
 			/* Set a default value */
 			if (stringTags.Count == 0) {
-				stringTags.Add(new StringTag{Value=subcategory[0], SubCategory=subcategory});
+				StringTag tag = new StringTag{Value=subcategory[0], SubCategory=subcategory}; 
+				tags.Add(tag);
+				stringTags.Add(tag);
 			}
 			
 			foreach (var tag in stringTags) {



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