From 69ce637a9ccbb2f667663d0f020646b5f95d6656 Mon Sep 17 00:00:00 2001 From: Faraphel Date: Mon, 29 Aug 2022 10:04:56 +0200 Subject: [PATCH] fixed progressbar not stopping correctly after being set to determinate --- source/gui/install.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/gui/install.py b/source/gui/install.py index 009cf6d..6d6eaab 100644 --- a/source/gui/install.py +++ b/source/gui/install.py @@ -465,9 +465,10 @@ class ProgressBar(ttk.LabelFrame): :param value: the value :return: """ + if value: - if self.progress_bar_step["mode"] == "indeterminate": self.progress_bar_step.stop() self.progress_bar_step.configure(mode="determinate") + self.progress_bar_step.stop() else: self.progress_bar_step.configure(mode="indeterminate", maximum=100)