mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 17:29:31 +02:00
parent
bc98657cb3
commit
ec76a4c4ac
@ -334,6 +334,13 @@ begin
|
|||||||
if OldWidget = NewWidget then
|
if OldWidget = NewWidget then
|
||||||
Exit;
|
Exit;
|
||||||
|
|
||||||
|
{Applies to all TQtWidgets which have "subwidgets" created
|
||||||
|
by CreateFrom() eg. comboBox.}
|
||||||
|
if (OldWidget <> nil) and
|
||||||
|
(NewWidget <> nil) and
|
||||||
|
(OldWidget.LCLObject = NewWidget.LCLObject) then
|
||||||
|
exit;
|
||||||
|
|
||||||
FillChar(Msg, SizeOf(Msg), 0);
|
FillChar(Msg, SizeOf(Msg), 0);
|
||||||
if OldWidget <> nil then
|
if OldWidget <> nil then
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user