Remove extra handler

The extra handler intercepted the action before it could be handled
properly changing the board design settings

Fixes https://gitlab.com/kicad/code/kicad/issues/9410
This commit is contained in:
Seth Hillbrand 2021-10-18 15:07:37 -07:00
parent 29b851dce1
commit 5af813c69f
1 changed files with 0 additions and 6 deletions

View File

@ -224,12 +224,6 @@ void PCB_TOOL_BASE::doInteractiveItemPlacement( const std::string& aTool,
newItem->Flip( newItem->GetPosition(), frame()->Settings().m_FlipLeftRight );
view()->Update( &preview );
}
else if( evt->IsAction( &PCB_ACTIONS::viaSizeInc )
|| evt->IsAction( &PCB_ACTIONS::viaSizeDec ) )
{
// Refresh preview after event runs
m_toolMgr->RunAction( ACTIONS::refreshPreview );
}
else if( evt->IsAction( &PCB_ACTIONS::properties ) )
{
frame()->OnEditItemRequest( newItem.get() );