mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 18:00:26 +02:00
*Fix regression: We must releaseMouse() when control lost focus.
git-svn-id: trunk@11637 -
This commit is contained in:
parent
0d3d586ef9
commit
3581fc71c9
@ -1065,7 +1065,13 @@ begin
|
||||
QEventDestroy: SlotDestroy;
|
||||
QEventEnter: SlotMouseEnter(Event);
|
||||
QEventFocusIn: SlotFocus(True);
|
||||
QEventFocusOut: SlotFocus(False);
|
||||
QEventFocusOut:
|
||||
begin
|
||||
SlotFocus(False);
|
||||
if QFocusEvent_reason(QFocusEventH(Event)) <> QtMouseFocusReason
|
||||
then
|
||||
releaseMouse;
|
||||
end;
|
||||
|
||||
QEventHoverEnter : SlotHover(Event);
|
||||
QEventHoverLeave : SlotHover(Event);
|
||||
|
Loading…
Reference in New Issue
Block a user