mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
0fa543901e
commit
a48eabebda
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user