diff --git a/src/plus/webviews/timeline/timelineWebviewView.ts b/src/plus/webviews/timeline/timelineWebviewView.ts index 893b97e..b4f3ec5 100644 --- a/src/plus/webviews/timeline/timelineWebviewView.ts +++ b/src/plus/webviews/timeline/timelineWebviewView.ts @@ -144,6 +144,7 @@ export class TimelineWebviewView extends WebviewViewBase { @debug({ args: false }) private onActiveEditorChanged(editor: TextEditor | undefined) { + if (editor == null || !this.container.git.isTrackable(editor.document.uri)) return; if (!this.updatePendingEditor(editor)) return; this.updateState();