[chronojump] selectRowTreeView_persons scrolls to row
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] selectRowTreeView_persons scrolls to row
- Date: Mon, 25 Feb 2019 22:49:01 +0000 (UTC)
commit a9be13ed6854aa8b2595f3be82e1bb5d2b0f931c
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Feb 25 23:47:29 2019 +0100
selectRowTreeView_persons scrolls to row
src/gui/chronojump.cs | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index 12dbc22a..509b87a0 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -1050,6 +1050,8 @@ public partial class ChronoJumpWindow
currentPerson = SqlitePerson.Select(Convert.ToInt32(selectedID));
currentPersonSession = SqlitePersonSession.Select(Convert.ToInt32(selectedID),
currentSession.UniqueID);
label_person_change();
+ TreePath path = model.GetPath (iter);
+ tv.ScrollToCell (path, null, true, 0, 0);
return true;
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]