Bug 746937 - Template transaction splits are loaded in reverse order...

and then not sorted before saving.

Actually not sorted after loading because the template accounts weren't
being committed.
This commit is contained in:
John Ralls 2019-07-27 15:15:55 -07:00
parent 456ab2241f
commit 887f7fac32

View File

@ -853,6 +853,9 @@ qof_session_load_from_xml_file_v2_full (
gnc_account_foreach_descendant (root,
(AccountCb) xaccAccountCommitEdit,
NULL);
gnc_account_foreach_descendant (gnc_book_get_template_root (book),
(AccountCb) xaccAccountCommitEdit,
NULL);
/* start logging again */
xaccLogEnable ();