Skip to content

Commit

Permalink
Bug #634252: Re-enable the splash screen if the user selects open anyway
Browse files Browse the repository at this point in the history
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
  • Loading branch information
cstim committed Nov 8, 2010
1 parent 861713c commit 75f38a3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gnome-utils/gnc-file.c
Expand Up @@ -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);
}
Expand Down

0 comments on commit 75f38a3

Please sign in to comment.