Qt: bugfix - issue #12121

git-svn-id: trunk@16540 -
This commit is contained in:
zeljko 2008-09-11 07:16:17 +00:00
parent bc98657cb3
commit ec76a4c4ac

View File

@ -334,6 +334,13 @@ begin
if OldWidget = NewWidget then
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);
if OldWidget <> nil then
begin