diff options
-rw-r--r-- | libcaja-private/caja-open-with-dialog.c | 3 |
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 8d21c7cd..24bb8bac 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) |