Il Harper
5 years ago
No known key found for this signature in database
GPG Key ID: DF6A3483C2AEB333
1 changed files with
1 additions and
3 deletions
-
src/Avalonia.Controls/TreeView.cs
|
|
|
@ -166,11 +166,9 @@ namespace Avalonia.Controls |
|
|
|
{ |
|
|
|
item.IsExpanded = true; |
|
|
|
|
|
|
|
var panel = item.Presenter.Panel; |
|
|
|
|
|
|
|
if (item.Presenter?.Panel != null) |
|
|
|
{ |
|
|
|
foreach (var child in panel.Children) |
|
|
|
foreach (var child in item.Presenter.Panel.Children) |
|
|
|
{ |
|
|
|
if (child is TreeViewItem treeViewItem) |
|
|
|
{ |
|
|
|
|