[longomatch] Fix event selection in the list
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Fix event selection in the list
- Date: Wed, 5 Nov 2014 19:01:56 +0000 (UTC)
commit 4277dc0a90bcce173cc65f6276b89ce4276ab518
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Thu Oct 30 18:22:53 2014 +0100
Fix event selection in the list
LongoMatch.GUI/Gui/TreeView/ListTreeViewBase.cs | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/TreeView/ListTreeViewBase.cs b/LongoMatch.GUI/Gui/TreeView/ListTreeViewBase.cs
index ddff0ff..e2719f7 100644
--- a/LongoMatch.GUI/Gui/TreeView/ListTreeViewBase.cs
+++ b/LongoMatch.GUI/Gui/TreeView/ListTreeViewBase.cs
@@ -143,9 +143,7 @@ namespace LongoMatch.Gui.Component
protected virtual void OnTreeviewRowActivated (object o, Gtk.RowActivatedArgs args)
{
- Gtk.TreeIter iter;
- modelFilter.GetIter (out iter, args.Path);
- object item = modelFilter.GetValue (iter, 0);
+ object item = GetValueFromPath (args.Path);
if (!(item is TimelineEvent))
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]