mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 18:20:18 +02:00
Qt5,Qt6: keep safe if mouserelease destroys QLineEdit of TComboBox
This commit is contained in:
parent
7cae2183b1
commit
294300d25d
@ -3839,6 +3839,9 @@ begin
|
||||
SaveWidget := nil;
|
||||
SavedLCLControl := PtrUInt(LCLObject);
|
||||
if (FChildOfComplexWidget = ccwCustomControl) and (FOwner <> nil) then
|
||||
SaveWidget := Widget
|
||||
else
|
||||
if (FChildOfComplexWidget = ccwComboBox) and (FOwner <> nil) then
|
||||
SaveWidget := Widget;
|
||||
|
||||
NotifyApplicationUserInput(LCLObject, PLMessage(@Msg)^);
|
||||
|
@ -3837,6 +3837,9 @@ begin
|
||||
SaveWidget := nil;
|
||||
SavedLCLControl := PtrUInt(LCLObject);
|
||||
if (FChildOfComplexWidget = ccwCustomControl) and (FOwner <> nil) then
|
||||
SaveWidget := Widget
|
||||
else
|
||||
if (FChildOfComplexWidget = ccwComboBox) and (FOwner <> nil) then
|
||||
SaveWidget := Widget;
|
||||
|
||||
NotifyApplicationUserInput(LCLObject, PLMessage(@Msg)^);
|
||||
|
Loading…
Reference in New Issue
Block a user