mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -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());
|
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);
|
this.splitview.resizeView(1, editorViewState.resultsHeight);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user