fixed another python3.11 float int crash

pull/607/head
Holger Müller 2023-02-28 20:32:19 +01:00
rodzic 82e582b9c0
commit f7d72d4320
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -82,7 +82,7 @@ class SParameterChart(FrequencyChart):
tick_count = self.dim.height // 60
tick_step = self.span / tick_count
for i in range(tick_count):
val = minValue + i * tick_step
val = int(minValue + i * tick_step)
y = self.topMargin + (maxValue - val) // span * self.dim.height
qp.setPen(QtGui.QPen(Chart.color.foreground))
qp.drawLine(self.leftMargin - 5, y,