mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-13 04:42:12 +03:00
Fix folder not closing when a terminal has focus (SpartanJ/ecode#890).
Fix release notes in nightly.
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user