mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08: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…
Reference in a new issue