From aa49ee547669d77386e4b58a8632025dc03f8a3b Mon Sep 17 00:00:00 2001
From: Andreas Mohr <and@gmx.li>
Date: Mon, 16 Nov 2015 18:33:35 +0000
Subject: [PATCH] fix #3557 - editor should not be closed on Ctrl-G
solution for #2520 miss fix for editor
---
src/editor/editwidget.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/editor/editwidget.c b/src/editor/editwidget.c
index eb2e812..23eebdb 100644
a
|
b
|
edit_dialog_command_execute (WDialog * h, unsigned long command) |
741 | 741 | edit_menu_cmd (h); |
742 | 742 | break; |
743 | 743 | case CK_Quit: |
744 | | case CK_Cancel: |
745 | 744 | { |
746 | 745 | Widget *w = WIDGET (h->current->data); |
747 | 746 | |
… |
… |
edit_dialog_command_execute (WDialog * h, unsigned long command) |
800 | 799 | case CK_SaveSetup: |
801 | 800 | save_setup_cmd (); |
802 | 801 | break; |
| 802 | case CK_Cancel: |
| 803 | /* don't close editor due to SIGINT */ |
| 804 | break; |
803 | 805 | default: |
804 | 806 | ret = MSG_NOT_HANDLED; |
805 | 807 | break; |