r21683 - gnucash/trunk/src/gnome - Fix the selection callback in account tree page which has the read only test backwards.
Mike Alexander
mta at code.gnucash.org
Mon Dec 5 17:13:07 EST 2011
Author: mta
Date: 2011-12-05 17:13:07 -0500 (Mon, 05 Dec 2011)
New Revision: 21683
Trac: http://svn.gnucash.org/trac/changeset/21683
Modified:
gnucash/trunk/src/gnome/gnc-plugin-page-account-tree.c
Log:
Fix the selection callback in account tree page which has the read only test backwards.
Modified: gnucash/trunk/src/gnome/gnc-plugin-page-account-tree.c
===================================================================
--- gnucash/trunk/src/gnome/gnc-plugin-page-account-tree.c 2011-12-05 21:25:09 UTC (rev 21682)
+++ gnucash/trunk/src/gnome/gnc-plugin-page-account-tree.c 2011-12-05 22:13:07 UTC (rev 21683)
@@ -805,7 +805,7 @@
Account *account = NULL;
gboolean sensitive;
gboolean subaccounts;
- gboolean is_readwrite = qof_book_is_readonly(gnc_get_current_book());
+ gboolean is_readwrite = !qof_book_is_readonly(gnc_get_current_book());
g_return_if_fail(GNC_IS_PLUGIN_PAGE_ACCOUNT_TREE(page));
More information about the gnucash-changes
mailing list