mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
The sense of the "Only show active customers" checkbox was inverted.
This commit is contained in:
parent
c9af8269fa
commit
95816477e4
@ -1099,7 +1099,7 @@ gppot_filter_show_inactive_toggled_cb (GtkToggleButton *button,
|
||||
g_return_if_fail(GTK_IS_TOGGLE_BUTTON(button));
|
||||
|
||||
ENTER("button %p", button);
|
||||
fd->show_inactive = gtk_toggle_button_get_active(button);
|
||||
fd->show_inactive = !gtk_toggle_button_get_active(button);
|
||||
gnc_tree_view_owner_refilter(fd->tree_view);
|
||||
LEAVE("show_inactive %d", fd->show_inactive);
|
||||
}
|
||||
@ -1194,7 +1194,7 @@ owner_filter_dialog_create(OwnerFilterDialog *fd, GncPluginPage *page)
|
||||
/* Update the dialog widgets for the current state */
|
||||
button = GTK_WIDGET(gtk_builder_get_object (builder, "show_inactive"));
|
||||
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(button),
|
||||
fd->show_inactive);
|
||||
!fd->show_inactive);
|
||||
button = GTK_WIDGET(gtk_builder_get_object (builder, "show_zero"));
|
||||
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(button),
|
||||
fd->show_zero_total);
|
||||
|
Loading…
Reference in New Issue
Block a user