Remove unneeded parameter from tool call

This commit is contained in:
Ian McInerney 2023-06-16 22:27:46 +01:00
parent 0a3b6c2d23
commit f899d9676f
1 changed files with 1 additions and 2 deletions

View File

@ -2398,8 +2398,7 @@ bool EDIT_TOOL::pickReferencePoint( const wxString& aTooltip, const wxString& aS
m_statusPopup->Popup();
canvas()->SetStatusPopup( m_statusPopup->GetPanel() );
TOOL_EVENT subtoolEvent = PCB_ACTIONS::pickerSubTool.MakeEvent();
m_toolMgr->RunAction( ACTIONS::pickerSubTool, true, (void*) &subtoolEvent );
m_toolMgr->RunAction( ACTIONS::pickerSubTool, true );
while( !done )
{