mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-12 20:59:08 +02:00
Qt: Revert last patch, TTreeView have problems with such case - others work fine.
git-svn-id: trunk@12320 -
This commit is contained in:
parent
5db853472f
commit
74948a0ce6
@ -6580,7 +6580,8 @@ end;
|
||||
procedure TQtAbstractScrollArea.setVisible(visible: Boolean);
|
||||
begin
|
||||
inherited setVisible(visible);
|
||||
viewPort.setVisible(visible);
|
||||
if FViewPortWidget <> nil then
|
||||
FViewPortWidget.setVisible(visible);
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
|
@ -147,6 +147,7 @@ begin
|
||||
|
||||
QtAbstractScrollArea := TQtAbstractScrollArea.Create(AWinControl, AParams);
|
||||
QtAbstractScrollArea.setFrameShape(TBorderStyleToQtFrameShapeMap[TCustomControl(AWinControl).BorderStyle]);
|
||||
QtAbstractScrollArea.viewportNeeded;
|
||||
QtAbstractScrollArea.AttachEvents;
|
||||
Result := THandle(QtAbstractScrollArea);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user