From fe639bb983e50f786db03eb561d5778593dd60bf Mon Sep 17 00:00:00 2001 From: Sebastian Heimann Date: Wed, 10 May 2023 10:15:25 +0200 Subject: [PATCH] kite: fix compatibility with newer qt versions --- kite/qt_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kite/qt_utils.py b/kite/qt_utils.py index 273e9b9..49b70e7 100644 --- a/kite/qt_utils.py +++ b/kite/qt_utils.py @@ -156,7 +156,7 @@ def setSliderValue(self, val): val *= 99 val = int(round(val)) - self.slider.setValue(val) + self.slider.setValue(int(round(val))) def setRange(self, vmin, vmax): """