mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-30 03:32:53 +03:00
Fixed CK_Menu command handling in editor.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
5e68b69020
commit
366067d0c3
@ -179,8 +179,12 @@ edit_adjust_size (Dlg_head *h)
|
||||
static cb_ret_t
|
||||
edit_command_execute (WEdit *edit, unsigned long command)
|
||||
{
|
||||
edit_execute_key_command (edit, command, -1);
|
||||
edit_update_screen (edit);
|
||||
if (command == CK_Menu)
|
||||
edit_menu_cmd (edit);
|
||||
else {
|
||||
edit_execute_key_command (edit, command, -1);
|
||||
edit_update_screen (edit);
|
||||
}
|
||||
return MSG_HANDLED;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user