[longomatch] Add players' number in the list



commit 7ce341b84cc8d6f1a5a1021c555171ff0001e11e
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Tue Apr 16 21:49:16 2013 +0200

    Add players' number in the list

 LongoMatch.GUI/Gui/TreeView/ListTreeViewBase.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/LongoMatch.GUI/Gui/TreeView/ListTreeViewBase.cs b/LongoMatch.GUI/Gui/TreeView/ListTreeViewBase.cs
index faa4474..dcf4f2a 100644
--- a/LongoMatch.GUI/Gui/TreeView/ListTreeViewBase.cs
+++ b/LongoMatch.GUI/Gui/TreeView/ListTreeViewBase.cs
@@ -261,7 +261,7 @@ namespace LongoMatch.Gui.Component
                        } else if(o is Player) {
                                c.Background = "white";
                                c.CellBackground = "white";
-                               c.Markup = String.Format("{0} ({1})", (o as Player).Name, 
modelFilter.IterNChildren(iter));
+                               c.Markup = String.Format("{0} ({1})", (o as Player).ToString(), 
modelFilter.IterNChildren(iter));
                        } else if(o is Category) {
                                c.Background = "white";
                                c.CellBackground = "white";


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