fix: crash on goto to SHA, NullReferenceException (#741)

This commit is contained in:
Nils van Rijsinge 2024-11-25 02:24:16 +01:00 committed by GitHub
parent 4160f8ab9c
commit bf4080b773
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
};