From 3425624510c7f9350fd1cbb33bb76b05ca1fa2ca Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Mon, 5 Sep 2016 15:35:14 +0200 Subject: [PATCH] Compile_Ratsnest() refreshes track labels --- pcbnew/connect.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pcbnew/connect.cpp b/pcbnew/connect.cpp index 848c30b531..50c3805cf9 100644 --- a/pcbnew/connect.cpp +++ b/pcbnew/connect.cpp @@ -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 ); }