Browse Source

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
6.0.7
Seth Hillbrand 4 years ago
parent
commit
5af813c69f
  1. 6
      pcbnew/tools/pcb_tool_base.cpp

6
pcbnew/tools/pcb_tool_base.cpp

@ -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() );

Loading…
Cancel
Save