From 038b9a3473f56dcf80cf5eb053f8cefcc0ef5f01 Mon Sep 17 00:00:00 2001 From: Jiri Moskovcak Date: Thu, 22 Oct 2009 15:32:53 +0200 Subject: GUI: make the newest dump selected --- src/Gui/CCMainWindow.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Gui/CCMainWindow.py b/src/Gui/CCMainWindow.py index eee6884..e68d2fb 100644 --- a/src/Gui/CCMainWindow.py +++ b/src/Gui/CCMainWindow.py @@ -210,7 +210,8 @@ class MainWindow(): entry.getTime("%c"), entry.getCount(), entry.isReported(), entry]) # activate the last row if any.. if n: - self.dlist.set_cursor(self.dumpsListStore.get_path(n)) + # we can use (0,) as path for the first row, but what if API changes? + self.dlist.set_cursor(self.dumpsListStore.get_path(self.dumpsListStore.get_iter_first())) def filter_dumps(self, model, miter, data): # for later.. -- cgit