From 90ef341f00504f2fc5bbb409646a9c9b34d60fc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Lucas=20Golini?= Date: Thu, 19 Dec 2024 12:39:41 -0300 Subject: [PATCH] Don't open terminal in playground path. --- src/tools/ecode/ecode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/ecode/ecode.cpp b/src/tools/ecode/ecode.cpp index e449bb6f6..304eb5234 100644 --- a/src/tools/ecode/ecode.cpp +++ b/src/tools/ecode/ecode.cpp @@ -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() &&