Fix executing whiteboard actions during events #7465
This commit is contained in:
parent
d5ef9feefb
commit
43cddee180
1 changed files with 1 additions and 1 deletions
|
@ -275,7 +275,7 @@ bool playsingle_controller::hotkey_handler::can_execute_command(const hotkey::ho
|
|||
return !is_observer();
|
||||
case hotkey::HOTKEY_WB_EXECUTE_ACTION:
|
||||
case hotkey::HOTKEY_WB_EXECUTE_ALL_ACTIONS:
|
||||
return whiteboard_manager_->can_enable_execution_hotkeys();
|
||||
return whiteboard_manager_->can_enable_execution_hotkeys() && !events::commands_disabled && !browse();
|
||||
case hotkey::HOTKEY_WB_DELETE_ACTION:
|
||||
return whiteboard_manager_->can_enable_modifier_hotkeys();
|
||||
case hotkey::HOTKEY_WB_BUMP_UP_ACTION:
|
||||
|
|
Loading…
Add table
Reference in a new issue