Skip to content

Commit dd63a15

Browse files
committed
The logical tree already contains row and column definitions
1 parent dbe5d64 commit dd63a15

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Snoop.Core/Data/Tree/DependencyObjectTreeItem.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,9 @@ protected override void Reload(List<TreeItem> toBeRemoved)
181181
}
182182
}
183183

184-
if (this.Visual is Grid grid)
184+
if (this.Target is Grid grid
185+
// The logical tree already contains these elements
186+
&& this.TreeService.TreeType != TreeType.Logical)
185187
{
186188
foreach (var row in grid.RowDefinitions)
187189
{

0 commit comments

Comments
 (0)