Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Jun 13, 2018
1 parent f7c4f82 commit 2d45960
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ export class OutlinePanel extends ViewletPanel {
}

private async _revealEditorSelection(model: OutlineModel, selection: Selection): TPromise<void> {
if (!this._outlineViewState.followCursor) {
if (!this._outlineViewState.followCursor && !this._tree.getInput()) {
return;
}
let item = model.getItemEnclosingPosition({
Expand Down

0 comments on commit 2d45960

Please sign in to comment.