diff --git a/src/tools/ecode/ecode.cpp b/src/tools/ecode/ecode.cpp index ffb8c4e3b..c024dbba7 100644 --- a/src/tools/ecode/ecode.cpp +++ b/src/tools/ecode/ecode.cpp @@ -3037,7 +3037,7 @@ void App::createProjectTreeMenu() { } else if ( "open_folder" == id ) { Engine::instance()->openURI( mCurrentProject ); } else if ( "execute_dir_in_terminal" == id ) { - mTerminalManager->createNewTerminal(); + mTerminalManager->createNewTerminal( "", nullptr, mCurrentProject ); } else if ( "show_hidden_files" == id ) { toggleHiddenFiles(); } else if ( "collapse-all" == id ) { diff --git a/src/tools/ecode/globalsearchcontroller.cpp b/src/tools/ecode/globalsearchcontroller.cpp index 76a7742c8..719b665f9 100644 --- a/src/tools/ecode/globalsearchcontroller.cpp +++ b/src/tools/ecode/globalsearchcontroller.cpp @@ -189,7 +189,7 @@ void GlobalSearchController::initGlobalSearchBar( addClickListener( searchClearHistory, "global-search-clear-history" ); mGlobalSearchLayout = mUISceneNode ->loadLayoutFromString( R"xml( - +