mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-05 21:16:28 +03:00
Minor fixes and improvements.
This commit is contained in:
@@ -205,13 +205,16 @@ void StatusBuildOutputController::runBuild( const std::string& buildName,
|
||||
|
||||
const auto updateBuildButton = [this, enableCleanButton]() {
|
||||
UIPushButton* buildButton = getBuildButton( mApp );
|
||||
if ( buildButton )
|
||||
buildButton->setText( mApp->i18n( "build", "Build" ) );
|
||||
if ( buildButton ) {
|
||||
buildButton->runOnMainThread(
|
||||
[this, buildButton] { buildButton->setText( mApp->i18n( "build", "Build" ) ); } );
|
||||
}
|
||||
|
||||
if ( enableCleanButton ) {
|
||||
UIPushButton* cleanButton = getCleanButton( mApp );
|
||||
if ( cleanButton )
|
||||
cleanButton->setEnabled( true );
|
||||
if ( cleanButton ) {
|
||||
cleanButton->runOnMainThread( [cleanButton] { cleanButton->setEnabled( true ); } );
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user