mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-27 13:39:30 +03:00
buttonbar_call(): don't handle Fx button with non-defined command.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
bc03546f3a
commit
3f11aecb74
@ -2852,7 +2852,7 @@ buttonbar_call (WButtonBar * bb, int i)
|
||||
{
|
||||
cb_ret_t ret = MSG_NOT_HANDLED;
|
||||
|
||||
if (bb != NULL)
|
||||
if ((bb != NULL) && (bb->labels[i].command != CK_Ignore_Key))
|
||||
ret = bb->widget.parent->callback (bb->widget.parent,
|
||||
(Widget *) bb, DLG_ACTION,
|
||||
bb->labels[i].command, bb->labels[i].receiver);
|
||||
|
Loading…
x
Reference in New Issue
Block a user