[longomatch/redesign3] Fix display of subcategories in the tagger widget



commit 12a1efba9dffbf230c1daeedb4dbe2558a6493a0
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Sat Aug 20 21:50:20 2011 +0200

    Fix display of subcategories in the tagger widget

 LongoMatch/Gui/Dialog/TaggerDialog.cs |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch/Gui/Dialog/TaggerDialog.cs b/LongoMatch/Gui/Dialog/TaggerDialog.cs
index 92bd821..b5f486f 100644
--- a/LongoMatch/Gui/Dialog/TaggerDialog.cs
+++ b/LongoMatch/Gui/Dialog/TaggerDialog.cs
@@ -39,12 +39,14 @@ namespace LongoMatch.Gui.Dialog
 		{
 			this.Build();
 			
+			tagsnotebook.Visible = false;
+			
 			this.localTeamTemplate = localTeamTemplate;
 			this.visitorTeamTemplate = visitorTeamTemplate;
 			
 			/* Iterate over all subcategories, adding a widget only for the FastTag ones */
 			foreach (var subcat in cat.SubCategories) {
-				if (subcat is SubCategoryTemplate) {
+				if (subcat is TagSubCategory) {
 					var tagcat = subcat as TagSubCategory;
 					if (tagcat.FastTag)
 						AddTagSubcategory(tagcat, tags.GetTags(tagcat));



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