Cleanup sheet pins doesn't make any sense when drawing sheets.

Fixes https://gitlab.com/kicad/code/kicad/issues/9044
This commit is contained in:
Jeff Young 2021-08-30 13:11:08 +01:00
parent 0cd8a4d846
commit 9da8f04cb4
1 changed files with 0 additions and 1 deletions

View File

@ -346,7 +346,6 @@ bool SCH_EDIT_TOOL::Init()
drawMenu.AddItem( EE_ACTIONS::toHLabel, anyTextTool && E_C::Idle, 200 ); drawMenu.AddItem( EE_ACTIONS::toHLabel, anyTextTool && E_C::Idle, 200 );
drawMenu.AddItem( EE_ACTIONS::toGLabel, anyTextTool && E_C::Idle, 200 ); drawMenu.AddItem( EE_ACTIONS::toGLabel, anyTextTool && E_C::Idle, 200 );
drawMenu.AddItem( EE_ACTIONS::toText, anyTextTool && E_C::Idle, 200 ); drawMenu.AddItem( EE_ACTIONS::toText, anyTextTool && E_C::Idle, 200 );
drawMenu.AddItem( EE_ACTIONS::cleanupSheetPins, sheetTool && E_C::Idle, 250 );
// //
// Add editing actions to the selection tool menu // Add editing actions to the selection tool menu