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
This commit is contained in:
Stefan Soeffing 2015-05-20 18:49:06 +02:00 committed by Geert Janssens
parent 4ed4aa4b70
commit 58f34f75e1

View File

@ -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);