gnucash maint: Properly ignore internal report options that are not on invisible option pages when opening the report options dialog

Geert Janssens gjanssens at code.gnucash.org
Wed Sep 20 14:00:16 EDT 2017


Updated	 via  https://github.com/Gnucash/gnucash/commit/1a84b4a0 (commit)
	from  https://github.com/Gnucash/gnucash/commit/350dd690 (commit)



commit 1a84b4a000cc242b463bcf32000d87492a2ed32b
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Wed Sep 20 19:59:17 2017 +0200

    Properly ignore internal report options that are not on invisible option pages when opening the report options dialog

diff --git a/src/gnome-utils/dialog-options.c b/src/gnome-utils/dialog-options.c
index 60a8903..26362e4 100644
--- a/src/gnome-utils/dialog-options.c
+++ b/src/gnome-utils/dialog-options.c
@@ -1010,6 +1010,11 @@ gnc_option_set_ui_widget(GNCOption *option,
         LEAVE("bad type");
         return;
     }
+    else if (g_strcmp0 (type, "internal") == 0)
+    {
+        LEAVE("internal type");
+        return;
+    }
 
     raw_name = gnc_option_name(option);
     if (raw_name && *raw_name)



Summary of changes:
 src/gnome-utils/dialog-options.c | 5 +++++
 1 file changed, 5 insertions(+)



More information about the gnucash-changes mailing list