From bf4080b77303d12ae0126e9a15dd190b441c372e Mon Sep 17 00:00:00 2001 From: Nils van Rijsinge Date: Mon, 25 Nov 2024 02:24:16 +0100 Subject: [PATCH] fix: crash on goto to SHA, NullReferenceException (#741) --- src/Views/CommitMessagePresenter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Views/CommitMessagePresenter.cs b/src/Views/CommitMessagePresenter.cs index 281cb38c..7ca823dc 100644 --- a/src/Views/CommitMessagePresenter.cs +++ b/src/Views/CommitMessagePresenter.cs @@ -195,7 +195,7 @@ namespace SourceGit.Views open.Icon = App.CreateMenuIcon("Icons.Commit"); open.Click += (_, ev) => { - detail.NavigateTo(_lastHover.Link); + detail.NavigateTo(link); ev.Handled = true; };