r20344 - gnucash/trunk/src/gnome - Only show the Save As dialog at the end of the Hierarchy druid if it

Geert Janssens gjanssens at code.gnucash.org
Sat Feb 26 09:42:40 EST 2011


Author: gjanssens
Date: 2011-02-26 09:42:40 -0500 (Sat, 26 Feb 2011)
New Revision: 20344
Trac: http://svn.gnucash.org/trac/changeset/20344

Modified:
   gnucash/trunk/src/gnome/druid-hierarchy.c
Log:
Only show the Save As dialog at the end of the Hierarchy druid if it
was called at the beginning of a new book, not when a hierarchy is
added to from the actions menu.

Modified: gnucash/trunk/src/gnome/druid-hierarchy.c
===================================================================
--- gnucash/trunk/src/gnome/druid-hierarchy.c	2011-02-26 14:04:34 UTC (rev 20343)
+++ gnucash/trunk/src/gnome/druid-hierarchy.c	2011-02-26 14:42:40 UTC (rev 20344)
@@ -1038,7 +1038,6 @@
         (*when_completed)();
     }
 
-    gnc_ui_file_access_for_save_as();
     LEAVE (" ");
 }
 
@@ -1120,6 +1119,7 @@
     GncPluginPage *page;
     page = gnc_plugin_page_account_tree_new();
     gnc_main_window_open_page(NULL, page);
+    gnc_ui_file_access_for_save_as();
 }
 
 static void



More information about the gnucash-changes mailing list