simplify check before saving state.
This commit is contained in:
parent
003fb37af9
commit
7ca5158461
|
@ -62,7 +62,7 @@ export class VariablesView extends ViewletPanel {
|
|||
this.tree.setInput(this.debugService.getViewModel(), this.savedViewState).then(null, onUnexpectedError);
|
||||
this.savedViewState = undefined;
|
||||
} else {
|
||||
if (!stackFrame && !this.savedViewState) {
|
||||
if (!stackFrame) {
|
||||
// We have no stackFrame, save tree state before it is cleared
|
||||
this.savedViewState = this.tree.getViewState();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue