Refresh vias geometry when switching via display mode

Fixes: lp:1674096
* https://bugs.launchpad.net/kicad/+bug/1674096
This commit is contained in:
Tomasz Włostowski 2017-03-20 12:06:48 +01:00
parent f599f10a03
commit 77c1b1b4ea
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ int PCBNEW_CONTROL::ViaDisplayMode( const TOOL_EVENT& aEvent )
for( TRACK* track = getModel<BOARD>()->m_Track; track; track = track->Next() )
{
if( track->Type() == PCB_TRACE_T )
if( track->Type() == PCB_TRACE_T || track->Type() == PCB_VIA_T )
getView()->Update( track, KIGFX::GEOMETRY );
}