| 266 | } |
| 267 | |
| 268 | void StatusAppOutputController::updateRunButton() { |
| 269 | UIPushButton* runButton = getRunButton(); |
| 270 | if ( runButton ) { |
| 271 | runButton->runOnMainThread( |
| 272 | [this, runButton] { runButton->setText( mContext->i18n( "run", "Run" ) ); } ); |
| 273 | } |
| 274 | |
| 275 | UIPushButton* buildAndRunButton = getBuildAndRunButton(); |
| 276 | |
| 277 | if ( buildAndRunButton ) |
| 278 | buildAndRunButton->setEnabled( true ); |
| 279 | |
| 280 | mRunButton->setEnabled( true ); |
| 281 | mStopButton->setEnabled( false ); |
| 282 | } |
| 283 | |
| 284 | } // namespace ecode |
nothing calls this directly
no test coverage detected