From 633375fc06361329e8d3b8979558febb62d1cc21 Mon Sep 17 00:00:00 2001 From: Sergio Villar Senin Date: Wed, 27 Feb 2008 12:43:56 +0000 Subject: [PATCH] * Fixes NB#81413, Esc key closes the "Save changes" dialog and the editor window instead of saving the message pmo-trunk-r4233 --- src/widgets/modest-window-mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/modest-window-mgr.c b/src/widgets/modest-window-mgr.c index 3b62214..4d32a10 100644 --- a/src/widgets/modest-window-mgr.c +++ b/src/widgets/modest-window-mgr.c @@ -708,7 +708,7 @@ on_window_destroy (ModestWindow *window, modest_platform_run_confirmation_dialog (GTK_WINDOW (window), _("mcen_nc_no_email_message_modified_save_changes")); /* Save to drafts */ - if (response != GTK_RESPONSE_CANCEL) + if (response == GTK_RESPONSE_OK) if (!modest_ui_actions_on_save_to_drafts (NULL, MODEST_MSG_EDIT_WINDOW (window))) return TRUE; } -- 1.7.9.5