Skip to content

Commit 7705039

Browse files
committed
history - stop opening entries after creation
1 parent 14a3095 commit 7705039

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/vs/workbench/contrib/localHistory/browser/localHistoryCommands.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -541,10 +541,7 @@ registerAction2(class extends Action2 {
541541
inputBox.dispose();
542542

543543
if (entrySource) {
544-
const entry = await workingCopyHistoryService.addEntry({ resource, source: inputBox.value }, CancellationToken.None);
545-
if (entry) {
546-
await openEntry(entry, editorService);
547-
}
544+
await workingCopyHistoryService.addEntry({ resource, source: inputBox.value }, CancellationToken.None);
548545
}
549546
});
550547
}

0 commit comments

Comments
 (0)