gnucash maint: - Report options, Account Selection, "select all" => not all accounts selected, only visible ones

Geert Janssens gjanssens at code.gnucash.org
Sat Oct 10 09:17:25 EDT 2015


Updated	 via  https://github.com/Gnucash/gnucash/commit/e69689fa (commit)
	from  https://github.com/Gnucash/gnucash/commit/8d9c0d66 (commit)



commit e69689faa208857ef481278859fafd0124a377b5
Author: Stefan Soeffing <soeffing at gmx.de>
Date:   Wed May 20 18:49:06 2015 +0200

    - Report options, Account Selection, "select all" => not all accounts selected, only visible ones
    
    Expand all accounts first, so that all accounts are visible and get selected.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=627692

diff --git a/src/gnome-utils/dialog-options.c b/src/gnome-utils/dialog-options.c
index 64aba22..d281e74 100644
--- a/src/gnome-utils/dialog-options.c
+++ b/src/gnome-utils/dialog-options.c
@@ -697,6 +697,7 @@ gnc_option_account_select_all_cb(GtkWidget *widget, gpointer data)
     GtkTreeSelection *selection;
 
     tree_view = GNC_TREE_VIEW_ACCOUNT(gnc_option_get_gtk_widget (option));
+    gtk_tree_view_expand_all(GTK_TREE_VIEW(tree_view));
     selection = gtk_tree_view_get_selection(GTK_TREE_VIEW(tree_view));
     gtk_tree_selection_select_all(selection);
     gnc_option_changed_widget_cb(widget, option);



Summary of changes:
 src/gnome-utils/dialog-options.c | 1 +
 1 file changed, 1 insertion(+)



More information about the gnucash-changes mailing list