PNS: hide preview via when disabled.
This commit is contained in:
parent
66778e1b00
commit
e7626a8592
|
@ -84,6 +84,9 @@ bool PNS_LINE_PLACER::ToggleVia( bool aEnabled )
|
|||
{
|
||||
m_placingVia = aEnabled;
|
||||
|
||||
if( !aEnabled )
|
||||
m_head.RemoveVia();
|
||||
|
||||
if( !m_idle )
|
||||
Move( m_currentEnd, NULL );
|
||||
|
||||
|
|
Loading…
Reference in New Issue