Bug #634252: Re-enable the splash screen if the user selects open anyway

If during startup a file or database turns out to beeing locked the user is
presented a dialog with the options to open anyway, create a new file or abort.
This dialog, however, closes the splash screen. This may cause confusion,
because file loading and report generation may still take quite some time.

Patch by Herbert Thoma.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19781 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2010-11-08 19:45:43 +00:00
parent 861713c0be
commit 75f38a3d91

View File

@ -704,6 +704,9 @@ gnc_post_file_open (const char * filename)
}
else if (rc == RESPONSE_OPEN)
{
// re-enable the splash screen, file loading and display of
// reports may take some time
gnc_show_splash_screen();
/* user told us to ignore locks. So ignore them. */
qof_session_begin (new_session, newfile, TRUE, FALSE);
}