(tree_key): fix key handling.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2020-04-06 17:46:28 +03:00
parent fbabe632a0
commit ec0c7cd848

View File

@ -1094,6 +1094,8 @@ tree_key (WTree * tree, int key)
command = widget_lookup_key (WIDGET (tree), key);
switch (command)
{
case CK_IgnoreKey:
break;
case CK_Left:
return tree_move_left (tree) ? MSG_HANDLED : MSG_NOT_HANDLED;
case CK_Right: