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:
parent
2aab24ef29
commit
c18bfe0c61
|
@ -458,6 +458,9 @@ void DIALOG_ERC::OnRunERCClick( wxCommandEvent& event )
|
||||||
wxMilliSleep( 500 );
|
wxMilliSleep( 500 );
|
||||||
m_runningResultsBook->ChangeSelection( 1 );
|
m_runningResultsBook->ChangeSelection( 1 );
|
||||||
KIPLATFORM::UI::ForceFocus( m_notebook );
|
KIPLATFORM::UI::ForceFocus( m_notebook );
|
||||||
|
|
||||||
|
// now re-enable m_sdbSizerOK button
|
||||||
|
m_sdbSizer1OK->Enable( true );
|
||||||
}
|
}
|
||||||
|
|
||||||
m_ercRun = true;
|
m_ercRun = true;
|
||||||
|
|
|
@ -344,6 +344,9 @@ void DIALOG_DRC::OnRunDRCClick( wxCommandEvent& aEvent )
|
||||||
wxMilliSleep( 500 );
|
wxMilliSleep( 500 );
|
||||||
m_runningResultsBook->ChangeSelection( 1 );
|
m_runningResultsBook->ChangeSelection( 1 );
|
||||||
KIPLATFORM::UI::ForceFocus( m_Notebook );
|
KIPLATFORM::UI::ForceFocus( m_Notebook );
|
||||||
|
|
||||||
|
// now re-enable m_sdbSizerOK button
|
||||||
|
m_sdbSizerOK->Enable( true );
|
||||||
}
|
}
|
||||||
|
|
||||||
refreshEditor();
|
refreshEditor();
|
||||||
|
|
Loading…
Reference in New Issue