ecode: More terminal fixes. Also fixes for the linter and formatter plugins.

This commit is contained in:
Martín Lucas Golini
2022-07-07 19:28:42 -03:00
parent 09114eea8a
commit 7234453161
12 changed files with 62 additions and 24 deletions

View File

@@ -322,7 +322,12 @@ static void loadDocuments( UICodeEditorSplitter* editorSplitter, std::shared_ptr
},
curTabWidget );
} else if ( file["type"] == "terminal" ) {
app->createNewTerminal( file.contains( "title" ) ? file["title"] : "" );
app->createNewTerminal( file.contains( "title" ) ? file["title"] : "",
curTabWidget );
if ( curTabWidget->getTabCount() == totalToLoad )
curTabWidget->setTabSelected(
eeclamp<Int32>( currentPage, 0, curTabWidget->getTabCount() - 1 ) );
}
}
} else if ( j["type"] == "splitter" ) {