mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Enable the opening balance tab in the Edit Account dialog.
When the account has no splits. This enables a user who meant to add an opening account either in the Account Hierarchy Assistant or the New Account dialog to do so more easily than by creating such a transaction by hand.
This commit is contained in:
parent
f782ef37a1
commit
0a5f05c0cb
@ -1977,7 +1977,8 @@ gnc_ui_edit_account_window(GtkWindow *parent, Account *account)
|
||||
gnc_resume_gui_refresh ();
|
||||
|
||||
gtk_widget_show_all (aw->dialog);
|
||||
gtk_widget_hide (aw->opening_balance_page);
|
||||
if (xaccAccountGetSplitList (account) != NULL)
|
||||
gtk_widget_hide (aw->opening_balance_page);
|
||||
|
||||
parent_acct = gnc_account_get_parent (account);
|
||||
if (parent_acct == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user