The sense of the "Only show active customers" checkbox was inverted.

This commit is contained in:
Mike Alexander 2014-08-31 01:24:01 -04:00
parent c9af8269fa
commit 95816477e4

View File

@ -1099,7 +1099,7 @@ gppot_filter_show_inactive_toggled_cb (GtkToggleButton *button,
g_return_if_fail(GTK_IS_TOGGLE_BUTTON(button)); g_return_if_fail(GTK_IS_TOGGLE_BUTTON(button));
ENTER("button %p", 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); gnc_tree_view_owner_refilter(fd->tree_view);
LEAVE("show_inactive %d", fd->show_inactive); 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 */ /* Update the dialog widgets for the current state */
button = GTK_WIDGET(gtk_builder_get_object (builder, "show_inactive")); button = GTK_WIDGET(gtk_builder_get_object (builder, "show_inactive"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(button), 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")); button = GTK_WIDGET(gtk_builder_get_object (builder, "show_zero"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(button), gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(button),
fd->show_zero_total); fd->show_zero_total);