Fix missing event processing for Leave Sheet button in toolbar.

This commit is contained in:
Jeff Young 2019-05-06 02:22:48 +01:00
parent 09c9db472e
commit 49231ac08f
1 changed files with 3 additions and 0 deletions

View File

@ -196,6 +196,9 @@ OPT<TOOL_EVENT> SCH_ACTIONS::TranslateLegacyId( int aId )
case ID_AUTOPLACE_FIELDS: case ID_AUTOPLACE_FIELDS:
return SCH_ACTIONS::autoplaceFields.MakeEvent(); return SCH_ACTIONS::autoplaceFields.MakeEvent();
case ID_POPUP_SCH_LEAVE_SHEET:
return SCH_ACTIONS::leaveSheet.MakeEvent();
case ID_HOTKEY_SELECT_NODE: case ID_HOTKEY_SELECT_NODE:
return SCH_ACTIONS::selectNode.MakeEvent(); return SCH_ACTIONS::selectNode.MakeEvent();