Browse Source

Refresh vias geometry when switching via display mode

Fixes: lp:1674096
* https://bugs.launchpad.net/kicad/+bug/1674096
pull/3/merge
Tomasz Włostowski 9 years ago
parent
commit
77c1b1b4ea
  1. 2
      pcbnew/tools/pcbnew_control.cpp

2
pcbnew/tools/pcbnew_control.cpp

@ -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…
Cancel
Save