mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 20:10:27 +02:00
Qt: fixed crash with TQtPage.
git-svn-id: trunk@20794 -
This commit is contained in:
parent
61dd211d4e
commit
a4eda524c0
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user