From 80fa480388c37076c616e04a8065c25fad97adbd Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Wed, 27 Jun 2018 19:04:59 +0200 Subject: [PATCH] Disable the DRC dialog while the checks are running Closing the DRC dialog while zones are refilled leads to a crash. Disabling the dialog prevents the crash. --- pcbnew/dialogs/dialog_drc.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcbnew/dialogs/dialog_drc.cpp b/pcbnew/dialogs/dialog_drc.cpp index d77cdaa5f0..9361024158 100644 --- a/pcbnew/dialogs/dialog_drc.cpp +++ b/pcbnew/dialogs/dialog_drc.cpp @@ -229,6 +229,7 @@ void DIALOG_DRC_CONTROL::OnStartdrcClick( wxCommandEvent& event ) DelDRCMarkers(); wxBeginBusyCursor(); + wxWindowDisabler disabler; // run all the tests, with no UI at this time. m_Messages->Clear();