From 325ec13d15d6ba4fa6003411529e83e04445c247 Mon Sep 17 00:00:00 2001 From: Robert Fewell <14uBobIT@gmail.com> Date: Fri, 12 Feb 2021 11:33:41 +0000 Subject: [PATCH] Bug 798096 - can't duplicate TX previous to red line threshold Allow the duplication of a transaction previous to read only threshold which was disabled by mistake in a previous commit. --- gnucash/gnome/gnc-plugin-page-register.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gnucash/gnome/gnc-plugin-page-register.c b/gnucash/gnome/gnc-plugin-page-register.c index ee88b718a6..100953f8d7 100644 --- a/gnucash/gnome/gnc-plugin-page-register.c +++ b/gnucash/gnome/gnc-plugin-page-register.c @@ -1145,10 +1145,6 @@ gnc_plugin_page_register_ui_update (gpointer various, "DeleteTransactionAction"); gtk_action_set_sensitive (GTK_ACTION (action), !read_only & !voided); - action = gnc_plugin_page_get_action (GNC_PLUGIN_PAGE (page), - "DuplicateTransactionAction"); - gtk_action_set_sensitive (GTK_ACTION (action), !read_only & TRUE); - if (cursor_class == CURSOR_CLASS_SPLIT) { action = gnc_plugin_page_get_action (GNC_PLUGIN_PAGE (page),