summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcaja-private/caja-open-with-dialog.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libcaja-private/caja-open-with-dialog.c b/libcaja-private/caja-open-with-dialog.c
index 94ef8d07..bfd51359 100644
--- a/libcaja-private/caja-open-with-dialog.c
+++ b/libcaja-private/caja-open-with-dialog.c
@@ -263,8 +263,7 @@ add_or_find_application (CajaOpenWithDialog *dialog)
}
should_set_default = (dialog->details->add_mode) ||
- (!dialog->details->add_mode &&
- gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (dialog->details->checkbox)));
+ gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (dialog->details->checkbox));
success = TRUE;
if (should_set_default)