mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 09:38:12 +02:00
LCL: TSpeedButton does not respond to pressing, after closing the modal form with a double click. Issue #33874
git-svn-id: trunk@58312 -
This commit is contained in:
parent
f71c5e7e17
commit
a82d438e12
@ -3055,7 +3055,11 @@ begin
|
||||
SetActiveWindow(ActiveWindow);
|
||||
Exclude(FFormState, fsModal);
|
||||
if ((PopupMode = pmNone) and HandleAllocated) and not (csDestroying in ComponentState) then
|
||||
RecreateWnd(Self); // need to refresh handle for pmNone because ParentWindow changes if (fsModal in FFormState) - see GetRealPopupParent
|
||||
begin
|
||||
// need to refresh handle for pmNone because ParentWindow changes if (fsModal in FFormState) - see GetRealPopupParent
|
||||
MouseCapture := False;
|
||||
RecreateWnd(Self);
|
||||
end;
|
||||
end;
|
||||
finally
|
||||
Application.ModalFinished;
|
||||
|
Loading…
Reference in New Issue
Block a user