r22835 - gnucash/branches/2.4/src/gnome-utils - [22834] Bug #696469 - renumbering subaccounts does not preserve original order

Geert Janssens gjanssens at code.gnucash.org
Tue Mar 26 15:47:19 EDT 2013


Author: gjanssens
Date: 2013-03-26 15:47:19 -0400 (Tue, 26 Mar 2013)
New Revision: 22835
Trac: http://svn.gnucash.org/trac/changeset/22835

Modified:
   gnucash/branches/2.4/src/gnome-utils/dialog-account.c
Log:
[22834] Bug #696469 - renumbering subaccounts does not preserve original order

Author Sébastien Villemot <sebastien at debian.org>

Modified: gnucash/branches/2.4/src/gnome-utils/dialog-account.c
===================================================================
--- gnucash/branches/2.4/src/gnome-utils/dialog-account.c	2013-03-26 19:35:36 UTC (rev 22834)
+++ gnucash/branches/2.4/src/gnome-utils/dialog-account.c	2013-03-26 19:47:19 UTC (rev 22835)
@@ -1951,7 +1951,7 @@
     if (response == GTK_RESPONSE_OK)
     {
         gtk_widget_hide(data->dialog);
-        children = gnc_account_get_children(data->parent);
+        children = gnc_account_get_children_sorted(data->parent);
         prefix = gtk_editable_get_chars(GTK_EDITABLE(data->prefix), 0, -1);
         interval =
             gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(data->interval));



More information about the gnucash-changes mailing list