Fix weird logic with the 'Edit filter action' dialog.
authorwwp <subscript@free.fr>
Fri, 1 Apr 2022 12:04:04 +0000 (14:04 +0200)
committerwwp <subscript@free.fr>
Fri, 1 Apr 2022 12:04:04 +0000 (14:04 +0200)
src/prefs_actions.c

index cbfd0af0580c2f67a59ced2d73b264974b970848..eac5dcfe755affba7cf608934f5bd481e4483ec1 100644 (file)
@@ -1312,8 +1312,8 @@ static void prefs_action_filterbtn_cb(GtkWidget *widget, gpointer data)
           alertpanel(_("Entry was modified"),
                        _("Opening the filter action dialog will clear current modifications "
                        "of the command-line."),
-                       NULL, _("_Cancel"), NULL, _("_Continue editing"), NULL, NULL,
-                       ALERTFOCUS_SECOND) != G_ALERTDEFAULT) {
+                       NULL, _("_Close"), NULL, _("_Open"), NULL, NULL,
+                       ALERTFOCUS_SECOND) == G_ALERTDEFAULT) {
                return;
        }
        tokens = g_strsplit_set(action_str, "{}", 5);