DIALOG_DRC & DIALOG_ERC: re-enable button "Run ERC" and "Run DRC" after running tests.

Fixes #16583
https://gitlab.com/kicad/code/kicad/-/issues/16583
This commit is contained in:
jean-pierre charras 2024-01-12 15:38:25 +01:00
parent 2aab24ef29
commit c18bfe0c61
2 changed files with 6 additions and 0 deletions

View File

@ -458,6 +458,9 @@ void DIALOG_ERC::OnRunERCClick( wxCommandEvent& event )
wxMilliSleep( 500 );
m_runningResultsBook->ChangeSelection( 1 );
KIPLATFORM::UI::ForceFocus( m_notebook );
// now re-enable m_sdbSizerOK button
m_sdbSizer1OK->Enable( true );
}
m_ercRun = true;

View File

@ -344,6 +344,9 @@ void DIALOG_DRC::OnRunDRCClick( wxCommandEvent& aEvent )
wxMilliSleep( 500 );
m_runningResultsBook->ChangeSelection( 1 );
KIPLATFORM::UI::ForceFocus( m_Notebook );
// now re-enable m_sdbSizerOK button
m_sdbSizerOK->Enable( true );
}
refreshEditor();