Don't display the playground name in window title.

This commit is contained in:
Martín Lucas Golini
2024-07-19 17:52:15 -03:00
parent cf1fb1e26b
commit 1283b9ee9a

View File

@@ -172,7 +172,7 @@ void App::updateEditorTitle( UICodeEditor* editor ) {
void App::setAppTitle( const std::string& title ) {
std::string fullTitle( mWindowTitle );
if ( !mCurrentProjectName.empty() )
if ( !mCurrentProjectName.empty() && mCurrentProject != getPlaygroundPath() )
fullTitle += " - " + mCurrentProjectName;
if ( !title.empty() )