Fix cloud-base selector initialization bug

This commit is contained in:
Raffson 2024-07-02 18:41:23 +02:00
parent 24fc438fda
commit 9f5db20195
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -18,6 +18,7 @@ class DcsCloudBaseSelector(QHBoxLayout):
self.addWidget(self.label)
self.base = QSlider(Qt.Orientation.Horizontal)
self.base.setRange(self.min_base, self.max_base)
self.base.setValue(
clouds.base
if clouds