We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f9fe7df + 86a537a commit 65f4d6dCopy full SHA for 65f4d6d
Source/VirtualTrees.BaseTree.pas
@@ -13440,6 +13440,8 @@ procedure TBaseVirtualTree.InternalRemoveFromSelection(Node: PVirtualNode);
13440
if SyncCheckstateWithSelection[Node] then
13441
Node.CheckState := csUncheckedNormal; // Avoid using SetCheckState() as it handles toSyncCheckboxesWithSelection as well.
13442
System.Inc(PAnsiChar(FSelection[Index]));
13443
+ // update selection count
13444
+ System.Dec(FSelectionCount); // Fixes #1197
13445
DoRemoveFromSelection(Node);
13446
Change(Node); // Calling Change() here fixes issue #1047
13447
end;
0 commit comments