We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f014ff commit 1af6d7bCopy full SHA for 1af6d7b
1 file changed
Aga.Controls/Tree/TreeNodeAdv.cs
@@ -221,7 +221,7 @@ public TreeNodeAdv PreviousNode
221
{
222
get
223
224
- if (_parent != null)
+ if (_parent?.Nodes != null)
225
226
int index = Index;
227
if (index > 0)
@@ -235,7 +235,7 @@ public TreeNodeAdv NextNode
235
236
237
238
239
240
241
if (index < _parent.Nodes.Count - 1)
0 commit comments