mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-11-01 13:13:21 -07: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;
|
Content = null;
|
||||||
|
|
||||||
var changes = Changes;
|
var changes = Changes;
|
||||||
if (changes == null)
|
if (changes == null || changes.Count == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
var viewMode = ViewMode;
|
var viewMode = ViewMode;
|
||||||
|
|
Loading…
Reference in a new issue