diff --git a/src/filemanager/cmd.c b/src/filemanager/cmd.c index 739a78a74..8964f1bbe 100644 --- a/src/filemanager/cmd.c +++ b/src/filemanager/cmd.c @@ -58,6 +58,7 @@ #include "lib/strutil.h" #include "lib/util.h" #include "lib/widget.h" +#include "lib/keybind.h" /* CK_PanelMoveDown, CK_InputHistoryShow */ #include "src/subshell.h" /* use_subshell */ #include "src/consaver/cons.saver.h" /* console_flag */ @@ -66,7 +67,6 @@ #include "src/setup.h" #include "src/execute.h" /* toggle_panels() */ #include "src/history.h" -#include "src/keybind-defaults.h" /* CK_InputHistoryShow */ #ifdef USE_INTERNAL_EDIT #include "src/editor/edit.h" @@ -1513,7 +1513,7 @@ single_dirsize_cmd (void) } if (panels_options.mark_moves_down) - send_message (&panel->widget, WIDGET_KEY, KEY_DOWN); + send_message ((Widget *) panel, WIDGET_COMMAND, CK_PanelMoveDown); recalculate_panel_summary (panel);