mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
* src/app-file/gnc-file.c: suspend engine events when
creating new session git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6397 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
558133fb79
commit
3ddf61ef35
@ -71,7 +71,11 @@ static GNCSession *
|
||||
gnc_get_current_session_internal (void)
|
||||
{
|
||||
if (!current_session)
|
||||
{
|
||||
gnc_engine_suspend_events ();
|
||||
current_session = gnc_session_new ();
|
||||
gnc_engine_resume_events ();
|
||||
}
|
||||
|
||||
return current_session;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user