mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
scroll txf view to put line for selected account in center of view; doesn't work for first selected account but does for all subsequent delections. Will fix in later commit when I figure out why.
This commit is contained in:
parent
307eb99057
commit
69cc8fe282
@ -640,7 +640,7 @@ account_to_gui (TaxInfoDialog *ti_dialog, Account *account)
|
||||
selection = gtk_tree_view_get_selection(view);
|
||||
path = gtk_tree_path_new_from_indices(index, -1);
|
||||
gtk_tree_selection_select_path(selection, path);
|
||||
gtk_tree_view_scroll_to_cell(view, path, NULL, FALSE, 0, 0);
|
||||
gtk_tree_view_scroll_to_cell(view, path, NULL, TRUE, 0.5, 0);
|
||||
gtk_tree_path_free(path);
|
||||
|
||||
str = xaccAccountGetTaxUSPayerNameSource (account);
|
||||
|
Loading…
Reference in New Issue
Block a user