diff --git a/gnucash/gnome/window-reconcile.c b/gnucash/gnome/window-reconcile.c index 30480e1b12..c5a372ced4 100644 --- a/gnucash/gnome/window-reconcile.c +++ b/gnucash/gnome/window-reconcile.c @@ -1608,6 +1608,12 @@ recn_set_watches_one_account (gpointer data, gpointer user_data) RecnWindow *recnData = (RecnWindow *)user_data; GList *node; + /* add a watch on the account */ + gnc_gui_component_watch_entity (recnData->component_id, + xaccAccountGetGUID (account), + QOF_EVENT_MODIFY | QOF_EVENT_DESTROY); + + /* add a watch on each unreconciled or cleared split for the account */ for (node = xaccAccountGetSplitList (account); node; node = node->next) { Split *split = node->data; @@ -1644,10 +1650,6 @@ recn_set_watches (RecnWindow *recnData) gnc_gui_component_clear_watches (recnData->component_id); - gnc_gui_component_watch_entity (recnData->component_id, - &recnData->account, - QOF_EVENT_MODIFY | QOF_EVENT_DESTROY); - account = recn_get_account (recnData); include_children = xaccAccountGetReconcileChildrenStatus(account);