From 0129c7ae52dcbc69348f7bab8575fea590d6785e Mon Sep 17 00:00:00 2001 From: Mikolaj Wielgus Date: Thu, 14 Jan 2021 10:37:08 +0100 Subject: [PATCH] Notify appearance panel when net is (un)hidden by board inspection tool Fixes https://gitlab.com/kicad/code/kicad/issues/7039 --- pcbnew/tools/board_inspection_tool.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pcbnew/tools/board_inspection_tool.cpp b/pcbnew/tools/board_inspection_tool.cpp index 2c5814edaa..a27c7e582a 100644 --- a/pcbnew/tools/board_inspection_tool.cpp +++ b/pcbnew/tools/board_inspection_tool.cpp @@ -36,6 +36,7 @@ #include #include #include "board_inspection_tool.h" +#include void DIALOG_INSPECTION_REPORTER::OnErrorLinkClicked( wxHtmlLinkEvent& event ) @@ -1200,6 +1201,8 @@ void BOARD_INSPECTION_TOOL::doHideNet( int aNetCode, bool aHide ) m_frame->GetCanvas()->RedrawRatsnest(); m_frame->GetCanvas()->Refresh(); + + m_frame->GetAppearancePanel()->OnBoardNetSettingsChanged( *m_frame->GetBoard() ); }