mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-26 09:35:38 -05:00
Prevent out of bounds splitview error (#6210)
This commit is contained in:
@@ -313,7 +313,7 @@ export class QueryEditor extends BaseEditor {
|
||||
|
||||
const editorViewState = this.loadTextEditorViewState(this.input.getResource());
|
||||
|
||||
if (editorViewState && editorViewState.resultsHeight) {
|
||||
if (editorViewState && editorViewState.resultsHeight && this.splitview.length > 1) {
|
||||
this.splitview.resizeView(1, editorViewState.resultsHeight);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user