Skip to content

Commit

Permalink
Bug 797158 - gnc:make-account-sel-limited-option is not working
Browse files Browse the repository at this point in the history
Option was being deliberately reset to default_value every time.
  • Loading branch information
christopherlam committed Jul 25, 2019
1 parent e9554e3 commit 7c9d5ee
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions gnucash/gnome-utils/dialog-options.c
Expand Up @@ -2710,9 +2710,8 @@ gnc_option_set_ui_widget_account_sel (GNCOption *option, GtkBox *page_box,
G_CALLBACK(gnc_option_changed_widget_cb), option);

gnc_option_set_widget (option, value);
/* DOCUMENT ME: Why is the only option type that sets use_default to
TRUE? */
gnc_option_set_ui_value(option, TRUE);

gnc_option_set_ui_value(option, FALSE);

*enclosing = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 5);
gtk_box_set_homogeneous (GTK_BOX (*enclosing), FALSE);
Expand Down

0 comments on commit 7c9d5ee

Please sign in to comment.