[longomatch] Order players by number instead of name
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Order players by number instead of name
- Date: Sun, 14 Nov 2010 20:51:05 +0000 (UTC)
commit 7c6d663ae5f800295123d87d62dc742560383d31
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Sat Nov 13 18:23:30 2010 +0100
Order players by number instead of name
LongoMatch/Gui/TreeView/PlayersTreeView.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch/Gui/TreeView/PlayersTreeView.cs b/LongoMatch/Gui/TreeView/PlayersTreeView.cs
index 89f9ea7..93a050c 100644
--- a/LongoMatch/Gui/TreeView/PlayersTreeView.cs
+++ b/LongoMatch/Gui/TreeView/PlayersTreeView.cs
@@ -96,7 +96,7 @@ namespace LongoMatch.Gui.Component
ob = model.GetValue (b, 0);
if (oa is Player)
- return (oa as Player).Name.CompareTo((ob as Player).Name);
+ return (oa as Player).Number.CompareTo((ob as Player).Number);
else
return (oa as TimeNode).Name.CompareTo((ob as TimeNode).Name);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]