mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
fixed the tree model - need to refresh tree paths for children as well
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1858 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
@@ -87,7 +87,7 @@ namespace ProcessHacker
|
||||
_roots.Remove(node);
|
||||
itemNode.Children.Add(node);
|
||||
node.Parent = itemNode;
|
||||
node.RefreshTreePath();
|
||||
node.RefreshTreePathRecursive();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -181,7 +181,7 @@ namespace ProcessHacker
|
||||
foreach (ProcessNode child in children)
|
||||
{
|
||||
child.Parent = null;
|
||||
child.RefreshTreePath();
|
||||
child.RefreshTreePathRecursive();
|
||||
}
|
||||
|
||||
_roots.AddRange(children);
|
||||
|
||||
Reference in New Issue
Block a user