Fix reversed parameters in call to xaccAccountTypesCompatible.

Missed in 2258e7a4.
pull/992/head
John Ralls 5 years ago
parent ca6fcf8af7
commit ac1abcb8c3

@ -879,7 +879,7 @@ gnc_common_ok (AccountWindow *aw)
}
/* check whether the types of child and parent are compatible */
if (!xaccAccountTypesCompatible (aw->type, xaccAccountGetType (parent)))
if (!xaccAccountTypesCompatible (xaccAccountGetType (parent), aw->type))
{
const char *message = _("The selected account type is incompatible with "
"the one of the selected parent.");

@ -487,6 +487,7 @@ gnucash/report/reports/standard/dashboard.scm
gnucash/report/reports/standard/equity-statement.scm
gnucash/report/reports/standard/general-journal.scm
gnucash/report/reports/standard/general-ledger.scm
gnucash/report/reports/standard/ifrs-cost-basis.scm
gnucash/report/reports/standard/income-gst-statement.scm
gnucash/report/reports/standard/income-statement.scm
gnucash/report/reports/standard/invoice.scm

Loading…
Cancel
Save