(mcview_execute_cmd): don't handle CK_Help here.

Use default handler via dlg_execute_cmd().

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2023-12-09 17:24:15 +03:00
parent 8f9593d2d5
commit 57342e54f4

View File

@ -401,12 +401,6 @@ mcview_execute_cmd (WView * view, long command)
switch (command)
{
case CK_Help:
{
ev_help_t event_data = { NULL, "[Internal File Viewer]" };
mc_event_raise (MCEVENT_GROUP_CORE, "help", &event_data);
}
break;
case CK_HexMode:
/* Toggle between hex view and text view */
mcview_toggle_hex_mode (view);