Browse Source

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.
pull/17/head
Maciej Suminski 8 years ago
parent
commit
80fa480388
  1. 1
      pcbnew/dialogs/dialog_drc.cpp

1
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();

Loading…
Cancel
Save