gnucash maint: Bug 796816 - Notes field in Duplicate Invoice dialogue is 'read-only'
Geert Janssens
gjanssens at code.gnucash.org
Mon Sep 24 12:35:20 EDT 2018
Updated via https://github.com/Gnucash/gnucash/commit/c4b40dbf (commit)
from https://github.com/Gnucash/gnucash/commit/9c9068cf (commit)
commit c4b40dbf468e78233104c69f4fc8716f88dd5346
Author: Geert Janssens <geert at kobaltwit.be>
Date: Mon Sep 24 18:35:10 2018 +0200
Bug 796816 - Notes field in Duplicate Invoice dialogue is 'read-only'
diff --git a/gnucash/gnome/dialog-invoice.c b/gnucash/gnome/dialog-invoice.c
index c8aa241..8d1c943 100644
--- a/gnucash/gnome/dialog-invoice.c
+++ b/gnucash/gnome/dialog-invoice.c
@@ -2619,7 +2619,9 @@ gnc_invoice_window_new_invoice (GtkWindow *parent, InvoiceDialogType dialog_type
gtk_box_pack_start (GTK_BOX(hbox), iw->opened_date, TRUE, TRUE, 0);
/* If this is a New Invoice, reset the Notes file to read/write */
- gtk_widget_set_sensitive (iw->notes_text, (iw->dialog_type == NEW_INVOICE));
+ gtk_widget_set_sensitive (iw->notes_text,
+ (iw->dialog_type == NEW_INVOICE) ||
+ (iw->dialog_type == DUP_INVOICE));
/* Setup signals */
gtk_builder_connect_signals_full( builder,
Summary of changes:
gnucash/gnome/dialog-invoice.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
More information about the gnucash-changes
mailing list