Compile_Ratsnest() refreshes track labels

This commit is contained in:
Maciej Suminski 2016-09-05 15:35:14 +02:00
parent 3bcbe0dfbd
commit 3425624510
1 changed files with 4 additions and 0 deletions

View File

@ -942,6 +942,10 @@ void PCB_BASE_FRAME::RecalculateAllTracksNetcode()
}
}
/// @todo LEGACY tracks might have changed their nets, so we need to refresh labels in GAL
for( TRACK* track = m_Pcb->m_Track; track; track = track->Next() )
track->ViewUpdate();
// Sort the track list by net codes:
RebuildTrackChain( m_Pcb );
}