mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 20:24:59 +00:00
fix<Histories>: fix crash reported by https://gitee.com/sourcegit/sourcegit/issues/I4468X
This commit is contained in:
parent
0d34bd1c82
commit
a66ee7c1d1
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ namespace SourceGit.Views.Widgets {
|
|||
|
||||
#region DATA
|
||||
public void NavigateTo(string commit) {
|
||||
if (string.IsNullOrEmpty(commit)) return;
|
||||
if (string.IsNullOrEmpty(commit) || commitList == null || commitList.ItemsSource == null) return;
|
||||
|
||||
foreach (var item in commitList.ItemsSource) {
|
||||
var c = item as Models.Commit;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue