mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-29 19:22:56 +03:00
Ticket #2256: changed focused button in editor quit dialog.
Now the focused button in editor quit dialog is "Cancel quit" as was before 4.7.3 release. Button order stay as in 4.7.3 release. Likewise for hex editor. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
9af5a7032c
commit
f660c97698
@ -2067,6 +2067,7 @@ edit_ok_to_exit (WEdit * edit)
|
||||
if (!edit_check_newline (edit))
|
||||
return FALSE;
|
||||
|
||||
query_set_sel (2);
|
||||
act = edit_query_dialog3 (_("Quit"), _("File was modified. Save with exit?"),
|
||||
_("&Yes"), _("&No"), _("&Cancel quit"));
|
||||
}
|
||||
|
@ -149,6 +149,7 @@ mcview_ok_to_quit (mcview_t * view)
|
||||
|
||||
if (!midnight_shutdown)
|
||||
{
|
||||
query_set_sel (2);
|
||||
r = query_dialog (_("Quit"),
|
||||
_("File was modified. Save with exit?"), D_NORMAL, 3,
|
||||
_("&Yes"), _("&No"), _("&Cancel quit"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user