router: allow placing via without track in shove mode
Fixes: lp:1769782 * https://bugs.launchpad.net/kicad/+bug/1769782
This commit is contained in:
parent
c8f4e1051b
commit
dcf4d7caa7
|
@ -887,7 +887,7 @@ void SHOVE::unwindStack( ITEM* aItem )
|
|||
|
||||
bool SHOVE::pushLine( const LINE& aL, bool aKeepCurrentOnTop )
|
||||
{
|
||||
if( !aL.IsLinkedChecked() )
|
||||
if( !aL.IsLinkedChecked() && aL.SegmentCount() != 0 )
|
||||
return false;
|
||||
|
||||
if( aKeepCurrentOnTop && m_lineStack.size() > 0)
|
||||
|
|
Loading…
Reference in New Issue