Fix folder not closing when a terminal has focus (SpartanJ/ecode#890).

Fix release notes in nightly.
This commit is contained in:
Martín Lucas Golini
2026-04-25 11:41:30 -03:00
parent bc37296f66
commit 3715933d7a
3 changed files with 4 additions and 3 deletions

View File

@@ -2283,6 +2283,7 @@ std::vector<std::string> App::getUnlockedCommands() {
"reset-project-language-extensions-priorities",
"maximize-tab-widget",
"restore-maximized-tab-widget",
"close-folder",
};
}
@@ -2980,7 +2981,6 @@ void App::onCodeEditorCreated( UICodeEditor* editor, TextDocument& doc ) {
doc.setCommand( "find-prev", [this] {
mDocSearchController->findPrevText( mDocSearchController->getSearchState() );
} );
doc.setCommand( "close-folder", [this] { closeFolder(); } );
doc.setCommand( "lock", [this] {
if ( mSplitter->curEditorExistsAndFocused() ) {
mSplitter->getCurEditor()->setLocked( true );