Don't allow the draw via tool to activate in the footprint editor
Fix #9186
This commit is contained in:
parent
34c2bd58d1
commit
847c9e32c8
|
@ -2263,6 +2263,9 @@ int DRAWING_TOOL::DrawZone( const TOOL_EVENT& aEvent )
|
|||
|
||||
int DRAWING_TOOL::DrawVia( const TOOL_EVENT& aEvent )
|
||||
{
|
||||
if( m_isFootprintEditor )
|
||||
return 0;
|
||||
|
||||
struct VIA_PLACER : public INTERACTIVE_PLACER_BASE
|
||||
{
|
||||
PCB_BASE_EDIT_FRAME* m_frame;
|
||||
|
|
Loading…
Reference in New Issue