diff --git a/src/gnome-utils/gnc-tree-view-owner.c b/src/gnome-utils/gnc-tree-view-owner.c index 091f42a052..7f93770e23 100644 --- a/src/gnome-utils/gnc-tree-view-owner.c +++ b/src/gnome-utils/gnc-tree-view-owner.c @@ -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);