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

@@ -36,8 +36,8 @@ jobs:
name: ecode ${{ steps.tag.outputs.version }}
draft: false
prerelease: true
generate_release_notes: true
body: >
generate_release_notes: false
body: |
Builds that include most recent changes as they happen. For stable releases check the whole list of [releases](https://github.com/SpartanJ/ecode/releases).
build_linux_x86_64:

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 );

View File

@@ -229,6 +229,7 @@ class App : public UICodeEditorSplitter::Client, public PluginContextProvider {
[this] { runCommand( "plugin-manager-open" ); }, Seconds( 10 ) );
}
} );
t.setCommand( "close-folder", [this] { closeFolder(); } );
t.setCommand( "debug-draw-boxes-toggle", [this] { debugDrawBoxesToggle(); } );
t.setCommand( "debug-draw-highlight-toggle", [this] { debugDrawHighlightToggle(); } );
t.setCommand( "debug-draw-debug-data", [this] { debugDrawData(); } );