[longomatch] Resort events after an event is edited



commit edbb0c99c0174b2f5d80c60e7aff16d9e8b58733
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Fri Feb 6 16:07:21 2015 +0100

    Resort events after an event is edited

 LongoMatch.GUI/Gui/TreeView/ListTreeViewBase.cs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/TreeView/ListTreeViewBase.cs b/LongoMatch.GUI/Gui/TreeView/ListTreeViewBase.cs
index a58391e..5c3e73f 100644
--- a/LongoMatch.GUI/Gui/TreeView/ListTreeViewBase.cs
+++ b/LongoMatch.GUI/Gui/TreeView/ListTreeViewBase.cs
@@ -161,6 +161,8 @@ namespace LongoMatch.Gui.Component
                                Config.EventsBroker.EmitTeamTagsChanged ();
                        }
                        Config.EventsBroker.EmitEventEdited (SelectedPlay);
+                       modelSort.SetSortFunc (0, SortFunction);
+                       modelSort.SetSortColumnId (0, SortType.Ascending);
                }
 
                protected void OnFilterUpdated ()


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