mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
disable events
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9096 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
76608f5c5b
commit
7c57239e84
@ -433,6 +433,7 @@ ap_close_period (GnomeDruidPage *druidpage,
|
|||||||
if (really_do_close_books)
|
if (really_do_close_books)
|
||||||
{
|
{
|
||||||
/* Close the books ! */
|
/* Close the books ! */
|
||||||
|
gnc_engine_suspend_events ();
|
||||||
gnc_suspend_gui_refresh ();
|
gnc_suspend_gui_refresh ();
|
||||||
|
|
||||||
scrub_all();
|
scrub_all();
|
||||||
@ -450,6 +451,7 @@ ap_close_period (GnomeDruidPage *druidpage,
|
|||||||
*/
|
*/
|
||||||
gnc_file_save ();
|
gnc_file_save ();
|
||||||
gnc_resume_gui_refresh ();
|
gnc_resume_gui_refresh ();
|
||||||
|
gnc_engine_resume_events ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Report the status back to the user. */
|
/* Report the status back to the user. */
|
||||||
|
Loading…
Reference in New Issue
Block a user