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:
Andreas Köhler 2007-05-18 23:09:30 +00:00
parent 55d98f19fc
commit ff06f1a801

View File

@ -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;
} }