diff --git a/qwt/null_paintdevice.py b/qwt/null_paintdevice.py index 80d0877..091443f 100644 --- a/qwt/null_paintdevice.py +++ b/qwt/null_paintdevice.py @@ -275,7 +275,7 @@ def metric(self, deviceMetric): elif deviceMetric == QPaintDevice.PdmDevicePixelRatio: value = 1 elif deviceMetric == QPaintDevice.PdmDevicePixelRatioScaled: - value = 1 + value = 0x10000 else: value = super(QwtNullPaintDevice, self).metric(deviceMetric) return value