mirror of https://github.com/MidnightCommander/mc
Ticket #4142: ctrl-l shortcut (refresh screen) is broken.
This bug was introduced in 2e734e5618
.
(dlg_handle_key): fallback to dialog_map if shortcut is not defined in
filemanager/editor/viewer/diffviewer key map.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
2225af84f5
commit
258e6bcd57
|
@ -206,6 +206,8 @@ dlg_handle_key (WDialog * h, int d_key)
|
|||
long command;
|
||||
|
||||
command = widget_lookup_key (WIDGET (h), d_key);
|
||||
if (command == CK_IgnoreKey)
|
||||
command = keybind_lookup_keymap_command (dialog_map, d_key);
|
||||
if (command != CK_IgnoreKey)
|
||||
return dlg_execute_cmd (h, command);
|
||||
|
||||
|
|
Loading…
Reference in New Issue