aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--YOSO/MainWindow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/YOSO/MainWindow.py b/YOSO/MainWindow.py
index 5da8382..3b31dfe 100644
--- a/YOSO/MainWindow.py
+++ b/YOSO/MainWindow.py
@@ -38,7 +38,7 @@ class MainWindow(QMainWindow):
self._image_spinner.setValue(0)
image_total = len(self._current_images)
if image_total > 0:
- self._progress_bar.setRange(1, image_total + 1)
+ self._progress_bar.setRange(0, image_total)
self._image_spinner.setRange(1, image_total)
self._image_spinner.setEnabled(True)
self._image_spinner.setValue(1)