Added srt command to Switch Run Target.

This commit is contained in:
Martín Lucas Golini
2024-04-26 21:52:50 -03:00
parent 2360861a98
commit b7079d1f91
4 changed files with 96 additions and 10 deletions

View File

@@ -1201,7 +1201,9 @@ void ProjectBuildManager::updateRunConfig() {
UIDropDownList* buildList = buildTab->find<UIDropDownList>( "build_list" );
UIDropDownList* runConfigList = buildTab->find<UIDropDownList>( "run_config_list" );
auto runName = mConfig.runName;
runConfigList->getListBox()->clear();
mConfig.runName = runName;
String first = buildList->getListBox()->getItemSelectedText();
if ( !first.empty() ) {