ecode: Fix build button incorrect state.

This commit is contained in:
Martín Lucas Golini
2023-08-01 00:23:48 -03:00
parent 9814f25696
commit 3e4ae1b1da
2 changed files with 5 additions and 5 deletions

View File

@@ -73,7 +73,7 @@ static std::string getProjectOutputParserTypeToString( const ProjectOutputParser
UIPushButton* StatusBuildOutputController::getBuildButton( App* app ) {
if ( app->getSidePanel() ) {
UIWidget* tab = app->getSidePanel()->find<UIWidget>( "build_tab" );
UIWidget* tab = app->getSidePanel()->find<UIWidget>( "build_tab_view" );
if ( tab )
return tab->find<UIPushButton>( "build_button" );
}
@@ -82,7 +82,7 @@ UIPushButton* StatusBuildOutputController::getBuildButton( App* app ) {
UIPushButton* StatusBuildOutputController::getCleanButton( App* app ) {
if ( app->getSidePanel() ) {
UIWidget* tab = app->getSidePanel()->find<UIWidget>( "build_tab" );
UIWidget* tab = app->getSidePanel()->find<UIWidget>( "build_tab_view" );
if ( tab )
return tab->find<UIPushButton>( "clean_button" );
}