[longomatch] Fix subcategories not displayed in the tagger widget
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Fix subcategories not displayed in the tagger widget
- Date: Sun, 15 Apr 2012 19:00:24 +0000 (UTC)
commit fe15d83ebec94604537afe96c090fbb0c1d8102b
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Sun Apr 15 20:57:33 2012 +0200
Fix subcategories not displayed in the tagger widget
LongoMatch.GUI/Gui/Component/TaggerWidget.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/TaggerWidget.cs b/LongoMatch.GUI/Gui/Component/TaggerWidget.cs
index 80cfa22..d8871f5 100644
--- a/LongoMatch.GUI/Gui/Component/TaggerWidget.cs
+++ b/LongoMatch.GUI/Gui/Component/TaggerWidget.cs
@@ -51,7 +51,7 @@ namespace LongoMatch.Gui.Component
}
public void AddSubCategory(TagSubCategory subcat, StringTagStore tags){
- if (tags.Tags.Count == 0)
+ if (subcat.Count == 0)
return;
StringTaggerWidget tagger = new StringTaggerWidget(subcat, tags);
table1.Attach(tagger,0, 1, table1.NRows-1, table1.NRows);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]