Add missing call to xaccAccountBeginEdit.

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14694 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
David Hampton 2006-08-19 05:07:31 +00:00
parent 5cf4588c9a
commit a9993107ba
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2006-08-19 David Hampton <hampton@employees.org>
* src/engine/Account.c: Add missing call to xaccAccountBeginEdit.
2006-08-18 David Hampton <hampton@employees.org>
* various: Add some 'const' declarations.

View File

@ -2003,6 +2003,7 @@ xaccAccountSetHidden (Account *acc, gboolean val)
{
if (!acc) return;
xaccAccountBeginEdit (acc);
kvp_frame_set_string (acc->inst.kvp_data, "hidden",
val ? "true" : NULL);
mark_account (acc);