Don't open terminal in playground path.

This commit is contained in:
Martín Lucas Golini
2024-12-19 12:39:41 -03:00
parent 401c6ea4f6
commit 90ef341f00

View File

@@ -1129,7 +1129,7 @@ String App::i18n( const std::string& key, const String& def ) {
}
std::string App::getCurrentWorkingDir() const {
if ( !mCurrentProject.empty() )
if ( !mCurrentProject.empty() && mCurrentProject != mPlaygroundPath )
return mCurrentProject;
if ( mSplitter && mSplitter->curEditorIsNotNull() && mSplitter->curEditorExists() &&