[longomatch] Sort player events by time
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Sort player events by time
- Date: Wed, 24 Sep 2014 20:31:38 +0000 (UTC)
commit 75884e5f76ecda1c328f1f44fe6869077ba76438
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Fri Sep 19 20:12:33 2014 +0200
Sort player events by time
LongoMatch.GUI/Gui/TreeView/PlayersTreeView.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/TreeView/PlayersTreeView.cs b/LongoMatch.GUI/Gui/TreeView/PlayersTreeView.cs
index f5127f4..a399af7 100644
--- a/LongoMatch.GUI/Gui/TreeView/PlayersTreeView.cs
+++ b/LongoMatch.GUI/Gui/TreeView/PlayersTreeView.cs
@@ -52,7 +52,7 @@ namespace LongoMatch.Gui.Component
if(oa is Player)
return (oa as Player).Number.CompareTo((ob as Player).Number);
else
- return (oa as TimeNode).Name.CompareTo((ob as TimeNode).Name);
+ return (oa as TimeNode).Start.CompareTo((ob as TimeNode).Start);
}
override protected bool OnKeyPressEvent(Gdk.EventKey evnt)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]