mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 12:15:00 +00:00
fix: solve warnings - Layout cycle detected
This commit is contained in:
parent
0c618998b2
commit
87dccda8ff
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ namespace SourceGit.Views
|
|||
Content = null;
|
||||
|
||||
var changes = Changes;
|
||||
if (changes == null)
|
||||
if (changes == null || changes.Count == 0)
|
||||
return;
|
||||
|
||||
var viewMode = ViewMode;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue