From 803f53d6b2a849274f3b347dab7e585f6b6b4cf0 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Thu, 1 Oct 2020 22:42:49 +0100 Subject: [PATCH] Don't reload DRC lists on activate event. Fixes https://gitlab.com/kicad/code/kicad/issues/5701 --- pcbnew/dialogs/dialog_drc.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pcbnew/dialogs/dialog_drc.cpp b/pcbnew/dialogs/dialog_drc.cpp index c524de739b..7f6d198d19 100644 --- a/pcbnew/dialogs/dialog_drc.cpp +++ b/pcbnew/dialogs/dialog_drc.cpp @@ -119,14 +119,7 @@ void DIALOG_DRC::OnActivateDlg( wxActivateEvent& aEvent ) DRC_TOOL* drcTool = m_brdEditor->GetToolManager()->GetTool(); drcTool->DestroyDRCDialog(); - - return; } - - m_markerTreeModel->SetProvider( m_markersProvider ); - m_unconnectedTreeModel->SetProvider( m_unconnectedItemsProvider ); - m_footprintWarningsTreeModel->SetProvider( m_footprintWarningsProvider ); - updateDisplayedCounts(); }