1
1

* main.c (midnight_callback): Don't handle any events except

Ctrl-x combinations on DLG_KEY event if the menu is active.
Этот коммит содержится в:
Pavel Roskin 2001-07-05 23:27:01 +00:00
родитель 6c17a59440
Коммит 1cd140d5dc
2 изменённых файлов: 8 добавлений и 1 удалений

@ -1,5 +1,8 @@
2001-07-05 Pavel Roskin <proski@gnu.org>
* main.c (midnight_callback): Don't handle any events except
Ctrl-x combinations on DLG_KEY event if the menu is active.
* main.c (load_prompt): Don't change prompt if midnight_dlg is
not the current dialog.

@ -1994,7 +1994,11 @@ midnight_callback (struct Dlg_head *h, int id, int msg)
}
#ifndef HAVE_X
if (id == KEY_F(10) && !the_menubar->active){
/* FIXME: should handle all menu shortcuts before this point */
if (the_menubar->active)
break;
if (id == KEY_F(10)){
quit_cmd ();
return MSG_HANDLED;
}