Refresh vias geometry when switching via display mode
Fixes: lp:1674096 * https://bugs.launchpad.net/kicad/+bug/1674096
This commit is contained in:
parent
f599f10a03
commit
77c1b1b4ea
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue