mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Allow invoking GAL tools, only if GAL is active.
This commit is contained in:
parent
ee3f47ae51
commit
f4ec1e729e
@ -269,6 +269,6 @@ void TOOL_DISPATCHER::DispatchWxCommand( wxCommandEvent &aEvent )
|
||||
break;
|
||||
}
|
||||
|
||||
if( activateTool )
|
||||
if( activateTool && m_editFrame->IsGalCanvasActive() )
|
||||
m_toolMgr->InvokeTool( toolName );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user