From d3ff94b94061e131ac4d31200f16f2f1cad60a27 Mon Sep 17 00:00:00 2001 From: Faraphel Date: Sun, 7 Aug 2022 18:37:14 +0200 Subject: [PATCH] the settings button wasn't disabled when installing the mod --- source/gui/install.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/source/gui/install.py b/source/gui/install.py index 7892f15..760f0ac 100644 --- a/source/gui/install.py +++ b/source/gui/install.py @@ -587,5 +587,9 @@ class SelectPack(ttk.Frame): :return: """ match state: - case InstallerState.IDLE: self.combobox.config(state="readonly") - case InstallerState.INSTALLING: self.combobox.config(state="disabled") + case InstallerState.IDLE: + self.combobox.config(state="readonly") + self.button_settings.config(state="normal") + case InstallerState.INSTALLING: + self.combobox.config(state="disabled") + self.button_settings.config(state="disabled")