Cast slots to `int` before range set

tractor_typed_msg_hackin
Tyler Goodlet 2022-07-07 21:08:46 -04:00
parent cfc08a5814
commit c87704e593
1 changed files with 1 additions and 1 deletions

View File

@ -619,7 +619,7 @@ class FillStatusBar(QProgressBar):
# color: #19232D;
# width: 10px;
self.setRange(0, slots)
self.setRange(0, int(slots))
self.setValue(value)