Notify appearance panel when net is (un)hidden by board inspection tool

Fixes https://gitlab.com/kicad/code/kicad/issues/7039
This commit is contained in:
Mikolaj Wielgus 2021-01-14 10:37:08 +01:00 committed by Jon Evans
parent 654e9a77db
commit 0129c7ae52
1 changed files with 3 additions and 0 deletions

View File

@ -36,6 +36,7 @@
#include <dialogs/dialog_constraints_reporter.h>
#include <kicad_string.h>
#include "board_inspection_tool.h"
#include <widgets/appearance_controls.h>
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() );
}