From fc1ccfb06ecfcfa56a8ce9efba1c523a11846a82 Mon Sep 17 00:00:00 2001 From: Christopher Lam Date: Sat, 19 Oct 2024 08:25:30 +0800 Subject: [PATCH] =?UTF-8?q?Bug=20799443=20-=20Edit=20find=20account=20jump?= =?UTF-8?q?=20then=20open,=20open=20the=20last=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit highlighted account not the jumped to account --- gnucash/gnome-utils/gnc-tree-view-account.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnucash/gnome-utils/gnc-tree-view-account.c b/gnucash/gnome-utils/gnc-tree-view-account.c index cdbc3a8ca2..a58b6cff03 100644 --- a/gnucash/gnome-utils/gnc-tree-view-account.c +++ b/gnucash/gnome-utils/gnc-tree-view-account.c @@ -1485,7 +1485,7 @@ gnc_tree_view_account_set_selected_account (GncTreeViewAccount *view, } gtk_tree_path_free(parent_path); - gtk_tree_selection_select_path (selection, s_path); + gtk_tree_view_set_cursor (GTK_TREE_VIEW (view), s_path, 0, FALSE); /* give gtk+ a chance to resize the tree view first by handling pending * configure events */