diff --git a/src/TaskListItem.py b/src/TaskListItem.py index ff19f2f..28f567b 100644 --- a/src/TaskListItem.py +++ b/src/TaskListItem.py @@ -160,6 +160,5 @@ def update_progress(self, value=None) -> None: self.progress_value = value self.progress_bar.setValue(self.progress_value) else: - # Increment progress bar for indeterminate progress - self.progress_value = (self.progress_value + 1) % 101 - self.progress_bar.setValue(self.progress_value) + # Set progress bar to zero for indeterminate progress + self.progress_bar.setValue(0)