Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
roblourens committed Nov 4, 2020
1 parent 660222b commit 320602f
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1302,9 +1302,11 @@ export class SettingsEditor2 extends EditorPane {
this.tocTreeModel.update();
}

this.tocTree.setFocus([]);
this.viewState.filterToCategory = undefined;
this.tocTree.expandAll();
if (type === SearchResultIdx.Local) {
this.tocTree.setFocus([]);
this.viewState.filterToCategory = undefined;
this.tocTree.expandAll();
}

this.refreshTOCTree();
this.renderTree(undefined, true);
Expand Down

0 comments on commit 320602f

Please sign in to comment.