Bug #628342 - Quick open on File menu deleted if failed

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20540 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Geert Janssens 2011-04-06 21:05:38 +00:00
parent 0fa543901e
commit a48eabebda

View File

@ -725,8 +725,7 @@ gnc_plugin_file_history_cmd_open_file (GtkAction *action,
filename = g_object_get_data(G_OBJECT(action), FILENAME_STRING);
gnc_window_set_progressbar_window (GNC_WINDOW(data->window));
/* also opens new account page */
if (!gnc_file_open_file (filename))
gnc_history_remove_file (filename);
gnc_file_open_file (filename);
gnc_window_set_progressbar_window (NULL);
}