mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -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) {
|
if (this.resultsVisible) {
|
||||||
this.splitview.removeView(1, Sizing.Distribute);
|
this.splitview.removeView(1, Sizing.Distribute);
|
||||||
this.resultsVisible = false;
|
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
|
onDidChange: Event.None
|
||||||
}, initialViewSize);
|
}, initialViewSize);
|
||||||
this.resultsVisible = true;
|
this.resultsVisible = true;
|
||||||
|
if (this.input && this.input.state) {
|
||||||
|
this.input.state.resultsVisible = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user