mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
bug fix
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4608 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
9c74f60c5f
commit
af7b407af0
@ -289,11 +289,13 @@ pgendProcessEvents (Backend *bend)
|
||||
case GNC_EVENT_MODIFY:
|
||||
/* if the remote user created an account, mirror it here */
|
||||
pgendCopyAccountToEngine (be, &(ev->guid));
|
||||
xaccGroupMarkSaved (be->topgroup);
|
||||
break;
|
||||
case GNC_EVENT_DESTROY: {
|
||||
Account * acc = xaccAccountLookup (&(ev->guid));
|
||||
xaccAccountBeginEdit (acc);
|
||||
xaccAccountDestroy (acc);
|
||||
xaccGroupMarkSaved (be->topgroup);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user