mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 09:59:23 +02:00
LCL: fixed bug where OnSelectionChanged() isn't called in some circumstances.issue #26714
git-svn-id: trunk@46208 -
This commit is contained in:
parent
60fe9db3e4
commit
0e6d1e27a5
@ -409,6 +409,9 @@ begin
|
|||||||
end else
|
end else
|
||||||
begin
|
begin
|
||||||
FItemIndex := Value;
|
FItemIndex := Value;
|
||||||
|
// maybe handle was recreated. issue #26714
|
||||||
|
FLastClickedItemIndex := -1;
|
||||||
|
|
||||||
// trigger event to be delphi compat, even if handle isn't allocated.
|
// trigger event to be delphi compat, even if handle isn't allocated.
|
||||||
// issue #15989
|
// issue #15989
|
||||||
if (Value <> OldItemIndex) and not FCreatingWnd then
|
if (Value <> OldItemIndex) and not FCreatingWnd then
|
||||||
|
Loading…
Reference in New Issue
Block a user