Fix crash in report options reported on IRC.

Commit 5ea2e4e7 removed the init of info.priv without substituting one for
info.view.
pull/1681/head
John Ralls 3 years ago
parent 8a4b4f6c7f
commit 39ed069f52

@ -1550,6 +1550,7 @@ gnc_tree_view_account_get_selected_accounts (GncTreeViewAccount *view)
g_return_val_if_fail (GNC_IS_TREE_VIEW_ACCOUNT (view), NULL);
info.return_list = NULL;
info.view = view;
selection = gtk_tree_view_get_selection (GTK_TREE_VIEW(view));
gtk_tree_selection_selected_foreach(selection, get_selected_accounts_helper, &info);
info.return_list = g_list_reverse (info.return_list);

Loading…
Cancel
Save