mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-18 01:25:37 -05:00
Plumb editor state change through to state object (#5931)
This commit is contained in:
@@ -365,6 +365,9 @@ export class QueryEditor extends BaseEditor {
|
||||
if (this.resultsVisible) {
|
||||
this.splitview.removeView(1, Sizing.Distribute);
|
||||
this.resultsVisible = false;
|
||||
if (this.input && this.input.state) {
|
||||
this.input.state.resultsVisible = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -380,6 +383,9 @@ export class QueryEditor extends BaseEditor {
|
||||
onDidChange: Event.None
|
||||
}, initialViewSize);
|
||||
this.resultsVisible = true;
|
||||
if (this.input && this.input.state) {
|
||||
this.input.state.resultsVisible = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user