From 58f34f75e14af33fd8f079286c460f9b2cb905ac Mon Sep 17 00:00:00 2001 From: Stefan Soeffing Date: Wed, 20 May 2015 18:49:06 +0200 Subject: [PATCH] Bug 627692 - 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 --- src/gnome-utils/dialog-options.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gnome-utils/dialog-options.c b/src/gnome-utils/dialog-options.c index 64aba22d0a..d281e74d4a 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);