mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-03 03:08:29 +02:00
the extension settings is now saved in the option.json file
This commit is contained in:
parent
63bb989b05
commit
2d50619b6c
2 changed files with 5 additions and 1 deletions
|
@ -325,9 +325,12 @@ class DestinationGame(ttk.LabelFrame):
|
|||
self.entry.grid(row=1, column=1, sticky="nsew")
|
||||
|
||||
self.output_type = ttk.Combobox(self, width=5, values=[extension.name for extension in Extension])
|
||||
self.output_type.set(Extension.WBFS.name)
|
||||
self.output_type.set(self.root.options["extension"])
|
||||
self.output_type.grid(row=1, column=2, sticky="nsew")
|
||||
|
||||
def output_type_callback(_: tkinter.Event): self.root.options["extension"] = self.output_type.get()
|
||||
self.output_type.bind("<<ComboboxSelected>>", output_type_callback)
|
||||
|
||||
self.button = ttk.Button(self, text="...", width=2, command=self.select)
|
||||
self.button.grid(row=1, column=3, sticky="nsew")
|
||||
|
||||
|
|
|
@ -16,6 +16,7 @@ class Option:
|
|||
"threads": 8,
|
||||
"mystuff_pack_selected": None,
|
||||
"mystuff_packs": {},
|
||||
"extension": "WBFS",
|
||||
}
|
||||
|
||||
def __init__(self, **options):
|
||||
|
|
Loading…
Reference in a new issue