Skip to content

Commit

Permalink
Fix reversed parameters in call to xaccAccountTypesCompatible.
Browse files Browse the repository at this point in the history
Missed in 2258e7a.
  • Loading branch information
jralls committed May 1, 2021
1 parent ca6fcf8 commit ac1abcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gnucash/gnome-utils/dialog-account.c
Expand Up @@ -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.");
Expand Down
1 change: 1 addition & 0 deletions po/POTFILES.in
Expand Up @@ -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
Expand Down

0 comments on commit ac1abcb

Please sign in to comment.