Skip to content

Commit 3f18a3f

Browse files
Merge pull request #1317 from livius2/fix_ochange_event_nil_node
Fix OnChange event with post nil if the note is the same
2 parents 8afd48e + 273dfcd commit 3f18a3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/VirtualTrees.BaseTree.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12607,7 +12607,7 @@ procedure TBaseVirtualTree.HandleMouseDown(var Message: TWMMouse; var HitInfo: T
1260712607
if NeedChangeEvent then
1260812608
begin
1260912609
Invalidate;
12610-
Change(nil);
12610+
Change(HitInfo.HitNode);
1261112611
end;
1261212612
end
1261312613
else if (toAlwaysSelectNode in Self.TreeOptions.SelectionOptions) then

0 commit comments

Comments
 (0)