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:
Seth Hillbrand
2025-07-18 16:55:14 -07:00
parent 3a06de0076
commit cb1bf5613e
-7
View File
@@ -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