mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 20:59:36 +02:00
CalendarPopup: Immediately hide the form (before closing) on deactivate (Issue #0020647)
git-svn-id: trunk@47181 -
This commit is contained in:
parent
add97f7a02
commit
42c4bdafbf
@ -115,6 +115,9 @@ end;
|
||||
procedure TCalendarPopupForm.FormDeactivate(Sender: TObject);
|
||||
begin
|
||||
//DebugLn(['TCalendarPopupForm.FormDeactivate ',DbgSName(GetCaptureControl)]);
|
||||
//Immediately hide the form, otherwise it stays visible while e.g. user is draging
|
||||
//another form (Issue #0020647)
|
||||
Hide;
|
||||
if (not FClosed) then
|
||||
Close;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user