diff --git a/lcl/interfaces/qt5/qtwidgets.pas b/lcl/interfaces/qt5/qtwidgets.pas index 454c4abafb..0548ec3436 100644 --- a/lcl/interfaces/qt5/qtwidgets.pas +++ b/lcl/interfaces/qt5/qtwidgets.pas @@ -8478,7 +8478,7 @@ end; function TQtFrame.CanPaintBackground: Boolean; begin - Result := CanSendLCLMessage and getEnabled and + Result := CanSendLCLMessage and {getEnabled and} (LCLObject.Color <> clBackground) and (LCLObject.Color <> clDefault); end;