Do not remove files from history list on startup, #388500.

It is not clear yet, when and how it is best to remove inaccessible
files from the history list.  At least we should not do it on startup.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16091 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Andreas Köhler 2007-05-17 13:28:43 +00:00
parent f9de5abe1b
commit d6de54691d

View File

@ -471,8 +471,7 @@ inner_main (void *closure, int argc, char **argv)
if (!nofile && (fn = get_file_to_load())) {
gnc_update_splash_screen(_("Loading data..."));
gnc_destroy_splash_screen();
if (!gnc_file_open_file(fn))
gnc_history_remove_file(fn);
gnc_file_open_file(fn);
g_free(fn);
}
else if (gnc_gconf_get_bool("dialogs/new_user", "first_startup", &error)