Browse Source

Don't initiate a drag if the router is already active

Fixes https://gitlab.com/kicad/code/kicad/-/issues/9277
6.0.7
Roberto Fernandez Bautista 4 years ago
parent
commit
e950278637
  1. 3
      pcbnew/tools/edit_tool.cpp

3
pcbnew/tools/edit_tool.cpp

@ -280,6 +280,9 @@ bool EDIT_TOOL::isRouterActive() const
int EDIT_TOOL::Drag( const TOOL_EVENT& aEvent )
{
if( m_toolMgr->GetTool<ROUTER_TOOL>()->IsToolActive() )
return false; // don't drag when router is already active
int mode = PNS::DM_ANY;
if( aEvent.IsAction( &PCB_ACTIONS::dragFreeAngle ) )

Loading…
Cancel
Save