Skip to content

Commit

Permalink
Bug 798851 - Account Balance 'include subaccounts' not saved
Browse files Browse the repository at this point in the history
The defaults for the account were removed by mistake in a previous
commit, added them back.
  • Loading branch information
Bob-IT committed Apr 12, 2023
1 parent cc2aa21 commit 0d84506
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libgnucash/engine/Account.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,12 @@ gnc_account_init(Account* acc)
priv->starting_reconciled_balance = gnc_numeric_zero();
priv->balance_dirty = FALSE;

priv->higher_balance_limit = gnc_numeric_create (1,0);
priv->higher_balance_cached = false;
priv->lower_balance_limit = gnc_numeric_create (1,0);
priv->lower_balance_cached = false;
priv->include_sub_account_balances = TriState::Unset;

priv->splits = NULL;
priv->sort_dirty = FALSE;
}
Expand Down

0 comments on commit 0d84506

Please sign in to comment.