Qt: fixed crash with TQtPage.

git-svn-id: trunk@20794 -
This commit is contained in:
zeljko 2009-07-04 08:21:02 +00:00
parent 61dd211d4e
commit a4eda524c0

View File

@ -9293,7 +9293,7 @@ var
begin
inherited setText(W);
AParent := getTabWidget;
if AParent <> nil then
if (AParent <> nil) and QWidget_isVisible(AParent) then
QTabWidget_setTabText(AParent, getIndex, @W);
end;