diff --git a/pcbnew/dialogs/panel_setup_netclasses.cpp b/pcbnew/dialogs/panel_setup_netclasses.cpp index 6ebb25c95d..0f68d8dbd2 100644 --- a/pcbnew/dialogs/panel_setup_netclasses.cpp +++ b/pcbnew/dialogs/panel_setup_netclasses.cpp @@ -23,16 +23,15 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */ -#include #include -#include -#include -#include #include -#include +#include +#include #include #include - +#include +#include +#include // Columns of netclasses grid enum { @@ -267,7 +266,9 @@ bool PANEL_SETUP_NETCLASSES::TransferDataFromWindow() m_Pcb->SynchronizeNetsAndNetClasses(); m_BrdSettings->SetCurrentNetClass( NETCLASS::Default ); - m_Frame->SetBoard( m_Pcb ); + + if( auto toolmgr = m_Frame->GetToolManager() ) + toolmgr->ResetTools( TOOL_BASE::MODEL_RELOAD ); return true; }