r20542 - gnucash/branches/2.4/src/gnome-utils - [20540] Bug #628342 - Quick open on File menu deleted if failed
Geert Janssens
gjanssens at code.gnucash.org
Wed Apr 6 17:07:52 EDT 2011
Author: gjanssens
Date: 2011-04-06 17:07:52 -0400 (Wed, 06 Apr 2011)
New Revision: 20542
Trac: http://svn.gnucash.org/trac/changeset/20542
Modified:
gnucash/branches/2.4/src/gnome-utils/gnc-plugin-file-history.c
Log:
[20540] Bug #628342 - Quick open on File menu deleted if failed
Modified: gnucash/branches/2.4/src/gnome-utils/gnc-plugin-file-history.c
===================================================================
--- gnucash/branches/2.4/src/gnome-utils/gnc-plugin-file-history.c 2011-04-06 21:07:43 UTC (rev 20541)
+++ gnucash/branches/2.4/src/gnome-utils/gnc-plugin-file-history.c 2011-04-06 21:07:52 UTC (rev 20542)
@@ -725,8 +725,7 @@
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);
}
More information about the gnucash-changes
mailing list