From afa387ab87ab4c1d220bfec830d7bdd67418bc58 Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Mon, 16 Oct 2023 20:59:06 +0200 Subject: [PATCH] Fix crash on user manager, with recently updated VirtualTrees code, in .ReinitNode() while tree is yet invisible --- source/usermanager.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/usermanager.pas b/source/usermanager.pas index 9362b124..8fef0413 100644 --- a/source/usermanager.pas +++ b/source/usermanager.pas @@ -764,7 +764,7 @@ begin treePrivs.FocusedNode := nil; treePrivs.Clear; treePrivs.RootNodeCount := FPrivObjects.Count; - treePrivs.ReinitNode(nil, True); + treePrivs.InvalidateChildren(nil, True); treePrivs.Invalidate; // Enable input boxes