Remove context menu from position interactively
It was marked "TODO: This does not work" and indeed it crashed when trying to use it on some items. When it did not crash, it did not show a menu, so the TODO was in fact accurate
This commit is contained in:
@@ -390,13 +390,6 @@ int POSITION_RELATIVE_TOOL::PositionRelativeInteractively( const TOOL_EVENT& aEv
|
||||
canvas()->Refresh();
|
||||
evt->SetPassEvent();
|
||||
}
|
||||
else if( evt->IsClick( BUT_RIGHT ) )
|
||||
{
|
||||
// TODO: This does not work
|
||||
PCB_SELECTION dummy;
|
||||
PCB_PICKER_TOOL* picker = m_toolMgr->GetTool<PCB_PICKER_TOOL>();
|
||||
picker->GetToolMenu().ShowContextMenu( dummy );
|
||||
}
|
||||
else if( !evt->IsMouseAction() )
|
||||
{
|
||||
// Often this will end up changing the items we just moved, so the ruler will be
|
||||
|
||||
Reference in New Issue
Block a user