the settings button wasn't disabled when installing the mod

This commit is contained in:
Faraphel 2022-08-07 18:37:14 +02:00
parent 3f58094d59
commit d3ff94b940

View file

@ -587,5 +587,9 @@ class SelectPack(ttk.Frame):
:return: :return:
""" """
match state: match state:
case InstallerState.IDLE: self.combobox.config(state="readonly") case InstallerState.IDLE:
case InstallerState.INSTALLING: self.combobox.config(state="disabled") 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")