mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Avoid assert in gnc_split_register_balance_trans if default_account is null.
This commit is contained in:
parent
3e7c8fa45a
commit
104de59519
@ -164,7 +164,7 @@ gnc_split_register_balance_trans (SplitRegister *reg, Transaction *trans)
|
||||
|
||||
g_list_free (radio_list);
|
||||
|
||||
root = gnc_account_get_root(default_account);
|
||||
root = default_account ? gnc_account_get_root(default_account) : NULL;
|
||||
switch (choice)
|
||||
{
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user