mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 12:12:47 +02:00
LCL: Update TreeView.Items.FSelection when deleting selected nodes. Patch from Anton, issue #19777
git-svn-id: trunk@31773 -
This commit is contained in:
parent
92659628f1
commit
5dbd4a37fd
@ -282,6 +282,9 @@ begin
|
||||
{$ENDIF}
|
||||
Include(FStates,nsDeleting);
|
||||
|
||||
Selected := False;
|
||||
MultiSelected := False;
|
||||
|
||||
// we must trigger TCustomTreeView.OnDeletion event before
|
||||
// unbinding.See issue #17832.
|
||||
if Assigned(Owner) and Assigned(Owner.Owner) then
|
||||
|
Loading…
Reference in New Issue
Block a user