[longomatch] fix duplication of entries in the categories list



commit 9e963fc8d68c3cc90aac5bd676c03d8bd6b76907
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Mon Jan 30 22:18:55 2012 +0100

    fix duplication of entries in the categories list

 LongoMatch.GUI/Gui/Component/CategoryProperties.cs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/CategoryProperties.cs b/LongoMatch.GUI/Gui/Component/CategoryProperties.cs
index ea73620..081e23e 100644
--- a/LongoMatch.GUI/Gui/Component/CategoryProperties.cs
+++ b/LongoMatch.GUI/Gui/Component/CategoryProperties.cs
@@ -127,6 +127,7 @@ namespace LongoMatch.Gui.Component
 			else hotKeyLabel.Text = Catalog.GetString("none");
 			
 			list = subcategoriestreeview1.Model as ListStore;
+			list.Clear();
 			foreach (ISubCategory subcat in cat.SubCategories)
 				list.AppendValues(subcat);
 		}



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