Cast slots to `int` before range set

dpbackup
Tyler Goodlet 2022-07-07 21:08:46 -04:00
parent b0ee764423
commit 7b6318f025
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)