router: allow placing via without track in shove mode

Fixes: lp:1769782
* https://bugs.launchpad.net/kicad/+bug/1769782
This commit is contained in:
Tomasz Włostowski 2018-05-08 15:17:33 +02:00
parent c8f4e1051b
commit dcf4d7caa7
1 changed files with 1 additions and 1 deletions

View File

@ -887,7 +887,7 @@ void SHOVE::unwindStack( ITEM* aItem )
bool SHOVE::pushLine( const LINE& aL, bool aKeepCurrentOnTop ) bool SHOVE::pushLine( const LINE& aL, bool aKeepCurrentOnTop )
{ {
if( !aL.IsLinkedChecked() ) if( !aL.IsLinkedChecked() && aL.SegmentCount() != 0 )
return false; return false;
if( aKeepCurrentOnTop && m_lineStack.size() > 0) if( aKeepCurrentOnTop && m_lineStack.size() > 0)