gnucash maint: Bug 798096 - can't duplicate TX previous to red line threshold

Robert Fewell bobit at code.gnucash.org
Sat Feb 13 06:11:45 EST 2021


Updated	 via  https://github.com/Gnucash/gnucash/commit/325ec13d (commit)
	from  https://github.com/Gnucash/gnucash/commit/998ad651 (commit)



commit 325ec13d15d6ba4fa6003411529e83e04445c247
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Fri Feb 12 11:33:41 2021 +0000

    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.

diff --git a/gnucash/gnome/gnc-plugin-page-register.c b/gnucash/gnome/gnc-plugin-page-register.c
index ee88b718a..100953f8d 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),



Summary of changes:
 gnucash/gnome/gnc-plugin-page-register.c | 4 ----
 1 file changed, 4 deletions(-)



More information about the gnucash-changes mailing list