mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
Nit.
This commit is contained in:
@@ -82,10 +82,10 @@ void StatusAppOutputController::run( const ProjectBuildCommand& runData,
|
||||
mStopButton->setEnabled( true );
|
||||
|
||||
const auto updateRunButton = [this]() {
|
||||
UIPushButton* buildButton = getRunButton( mApp );
|
||||
if ( buildButton ) {
|
||||
buildButton->runOnMainThread(
|
||||
[this, buildButton] { buildButton->setText( mApp->i18n( "run", "Run" ) ); } );
|
||||
UIPushButton* runButton = getRunButton( mApp );
|
||||
if ( runButton ) {
|
||||
runButton->runOnMainThread(
|
||||
[this, runButton] { runButton->setText( mApp->i18n( "run", "Run" ) ); } );
|
||||
}
|
||||
mRunButton->setEnabled( true );
|
||||
mStopButton->setEnabled( false );
|
||||
|
||||
Reference in New Issue
Block a user