diff options
Diffstat (limited to 'gtk-gui.c')
-rw-r--r-- | gtk-gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -238,7 +238,7 @@ static gboolean ask_save_changes() gint outcode = gtk_dialog_run(GTK_DIALOG(dialog)); if (outcode == GTK_RESPONSE_ACCEPT) { file_save(NULL,NULL); - } else if (outcode == GTK_RESPONSE_CANCEL) { + } else if (outcode == GTK_RESPONSE_CANCEL || outcode == GTK_RESPONSE_DELETE_EVENT) { quit = FALSE; } gtk_widget_destroy(dialog); |