Browse Source

Fixes #217 - status bar blame sticks on editor close

main
Eric Amodio 7 years ago
parent
commit
42e7020597
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/currentLineController.ts

+ 1
- 1
src/currentLineController.ts View File

@ -254,7 +254,7 @@ export class CurrentLineController extends Disposable {
async refresh(editor?: TextEditor) {
this._currentLine.line = -1;
if (editor === undefined && this._editor !== undefined) return;
if (editor === undefined && this._editor === undefined) return;
this.clearAnnotations(this._editor);

Loading…
Cancel
Save