From 0a1045300b66996360377b9fdfa32bfcbafd2eca Mon Sep 17 00:00:00 2001 From: Roberto Fernandez Bautista Date: Sun, 20 Dec 2020 21:05:48 +0100 Subject: [PATCH] CADSTAR PCB Archive Importer: Fix loading of net class settings --- pcbnew/plugins/cadstar/cadstar_pcb_archive_loader.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pcbnew/plugins/cadstar/cadstar_pcb_archive_loader.cpp b/pcbnew/plugins/cadstar/cadstar_pcb_archive_loader.cpp index bb80d8ca95..089338a854 100644 --- a/pcbnew/plugins/cadstar/cadstar_pcb_archive_loader.cpp +++ b/pcbnew/plugins/cadstar/cadstar_pcb_archive_loader.cpp @@ -594,9 +594,8 @@ void CADSTAR_PCB_ARCHIVE_LOADER::loadDesignRules() applyNetClassRule( "T_T", ds.GetDefault(), &::NETCLASS::SetClearance ); - wxLogWarning( _( "KiCad design rules are different from CADSTAR ones. Only the compatible " - "design rules were imported. It is recommended that you review the design " - "rules that have been applied." ) ); + mBoard->m_LegacyNetclassesLoaded = true; + wxLogWarning( _( "KiCad design rules are different from CADSTAR ones. Only the compatible " "design rules were imported. It is recommended that you review the design " "rules that have been applied." ) );