disable events

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9096 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 2003-08-16 21:10:37 +00:00
parent 76608f5c5b
commit 7c57239e84

View File

@ -433,6 +433,7 @@ ap_close_period (GnomeDruidPage *druidpage,
if (really_do_close_books)
{
/* Close the books ! */
gnc_engine_suspend_events ();
gnc_suspend_gui_refresh ();
scrub_all();
@ -450,6 +451,7 @@ ap_close_period (GnomeDruidPage *druidpage,
*/
gnc_file_save ();
gnc_resume_gui_refresh ();
gnc_engine_resume_events ();
}
/* Report the status back to the user. */