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.
This commit is contained in:
Maciej Suminski 2018-06-27 19:04:59 +02:00
parent f10aa6c857
commit 80fa480388
1 changed files with 1 additions and 0 deletions

View File

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