| 864 | } |
| 865 | |
| 866 | void UIBuildSettings::deleteStep( size_t stepNum, bool isClean ) { |
| 867 | ProjectBuildSteps& steps = isClean ? mBuild.mClean : mBuild.mBuild; |
| 868 | UIWidget* cont = |
| 869 | isClean ? find<UIWidget>( "build_clean_steps_cont" ) : find<UIWidget>( "build_steps_cont" ); |
| 870 | for ( auto step = stepNum; step < steps.size(); step++ ) |
| 871 | cont->findByClass<UIBuildStep>( String::toString( (Uint64)step ) )->clearBindings(); |
| 872 | steps.erase( steps.begin() + stepNum ); |
| 873 | cont->findByClass<UIBuildStep>( String::toString( (Uint64)stepNum ) )->close(); |
| 874 | for ( auto step = stepNum + 1; step <= steps.size(); step++ ) |
| 875 | cont->findByClass<UIBuildStep>( String::toString( (Uint64)step ) ) |
| 876 | ->updateStep( step - 1, steps[step - 1].get() ); |
| 877 | } |
| 878 | |
| 879 | void UIBuildSettings::runSetup() { |
| 880 | if ( mBuild.mRun.empty() ) { |
no test coverage detected