mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 01:49:25 +02:00
lcl: fix TCustomForm.SetPopupMode: remove PopupParent for both pmAuto and pmNone
git-svn-id: trunk@51049 -
This commit is contained in:
parent
6f4f90622a
commit
574bda0e99
@ -360,7 +360,7 @@ begin
|
||||
if FPopupMode <> AValue then
|
||||
begin
|
||||
FPopupMode := AValue;
|
||||
if (FPopupMode = pmAuto) and (PopupParent <> nil) then
|
||||
if (FPopupMode in [pmAuto, pmNone]) and (PopupParent <> nil) then
|
||||
PopupParent := nil
|
||||
else
|
||||
if not (csDesigning in ComponentState) and HandleAllocated then
|
||||
|
Loading…
Reference in New Issue
Block a user