Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit c917d44

Browse files
committed
Fix navigate to editor.
This code was accidentally removed in fa8aab8
1 parent 1f4f82b commit c917d44

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/GitHub.App/Services/PullRequestEditorService.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,9 @@ await pullRequestService.ExtractToTempFile(
182182
if (!workingDirectory)
183183
{
184184
AddBufferTag(diffViewer.RightView.TextBuffer, session, rightPath, file.CommitSha, DiffSide.Right);
185+
EnableNavigateToEditor(diffViewer.LeftView, session, file);
186+
EnableNavigateToEditor(diffViewer.RightView, session, file);
187+
EnableNavigateToEditor(diffViewer.InlineView, session, file);
185188
}
186189

187190
if (workingDirectory)

0 commit comments

Comments
 (0)