mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-02 19:18:14 +02:00
LCL: first call closemodal and then hide the form, as it was before r10339 #c0f7e52665 (bug #8059)
git-svn-id: trunk@10370 -
This commit is contained in:
parent
a774b547a9
commit
49a9083bf9
@ -1908,9 +1908,9 @@ begin
|
||||
if HandleAllocated and (GetActiveWindow <> Handle) then
|
||||
ActiveWindow := 0;
|
||||
finally
|
||||
Hide;
|
||||
{ guarantee execution of widgetset CloseModal }
|
||||
TWSCustomFormClass(WidgetSetClass).CloseModal(Self);
|
||||
Hide;
|
||||
// free handles to save resources and to reduce overhead in the interfaces
|
||||
// for bookkeeping changing between Show and ShowModal.
|
||||
// (e.g.: the gtk interface creates some specials on ShowModal, so the
|
||||
|
Loading…
Reference in New Issue
Block a user