Do not show ACCT_TYPE_ROOT in filter by dialog.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15984 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Andreas Köhler 2007-04-22 11:36:47 +00:00
parent 51d728eb7e
commit 5d924c992c

View File

@ -1839,7 +1839,8 @@ account_filter_dialog_create(AccountFilterDialog *fd, GncPluginPage *page)
/* Set up the tree view and model */
view = GTK_TREE_VIEW(glade_xml_get_widget (xml, FILTER_TREE_VIEW));
fd->model = gnc_tree_model_account_types_filter_using_mask(-1);
fd->model = gnc_tree_model_account_types_filter_using_mask
(~(1 << ACCT_TYPE_ROOT));
gtk_tree_view_set_model(view, fd->model);
g_object_unref (fd->model);