From 82ea3c57387cfe99b3ece7ea6851a319c6f45912 Mon Sep 17 00:00:00 2001 From: Geert Janssens Date: Tue, 26 Mar 2013 19:35:36 +0000 Subject: [PATCH] Bug #696469 - renumbering subaccounts does not preserve original order MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Author Sébastien Villemot BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22834 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/gnome-utils/dialog-account.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gnome-utils/dialog-account.c b/src/gnome-utils/dialog-account.c index 710f247501..86a9db2acf 100644 --- a/src/gnome-utils/dialog-account.c +++ b/src/gnome-utils/dialog-account.c @@ -1946,7 +1946,7 @@ gnc_account_renumber_response_cb (GtkDialog *dialog, 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));