mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
In reconciliation window, only show interest button if account type is CREDIT or LIABILITY.
It used to be hidden and showed again by gtk_widget_show_all. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16099 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
55d98f19fc
commit
ff06f1a801
@ -722,7 +722,7 @@ startRecnWindow(GtkWidget *parent, Account *account,
|
|||||||
else if( account_type_has_auto_interest_charge( data.account_type ) )
|
else if( account_type_has_auto_interest_charge( data.account_type ) )
|
||||||
gtk_button_set_label(GTK_BUTTON(interest), _("Enter _Interest Charge...") );
|
gtk_button_set_label(GTK_BUTTON(interest), _("Enter _Interest Charge...") );
|
||||||
else {
|
else {
|
||||||
gtk_widget_hide(interest);
|
gtk_widget_destroy(interest);
|
||||||
interest = NULL;
|
interest = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user