Move MW to Bottom
This commit is contained in:
@@ -90,9 +90,6 @@ SETTINGSTOPROCESS = {
|
||||
"experimental": "experimental",
|
||||
"dungeon_counters": "dungeon_counters"
|
||||
},
|
||||
"multiworld": {
|
||||
"names": "names"
|
||||
},
|
||||
"gameoptions": {
|
||||
"hints": "hints",
|
||||
"nobgm": "disablemusic",
|
||||
@@ -113,6 +110,7 @@ SETTINGSTOPROCESS = {
|
||||
},
|
||||
"bottom": {
|
||||
"content": {
|
||||
"names": "names",
|
||||
"seed": "seed",
|
||||
"generationcount": "count"
|
||||
}
|
||||
|
||||
@@ -7,6 +7,7 @@ from CLI import parse_arguments
|
||||
from Main import main
|
||||
from Utils import local_path, output_path, open_file
|
||||
import source.classes.constants as CONST
|
||||
from source.gui.randomize.multiworld import multiworld_page
|
||||
import source.gui.widgets as widgets
|
||||
from source.classes.Empty import Empty
|
||||
|
||||
@@ -18,6 +19,10 @@ def bottom_frame(self, parent, args=None):
|
||||
# Bottom Frame options
|
||||
self.widgets = {}
|
||||
|
||||
mw,_ = multiworld_page(self, parent.settings)
|
||||
mw.pack(fill=X, expand=True)
|
||||
self.widgets = mw.widgets
|
||||
|
||||
# Seed input
|
||||
# widget ID
|
||||
widget = "seed"
|
||||
|
||||
@@ -96,8 +96,8 @@ def loadcliargs(gui, args, settings=None):
|
||||
gui.pages[mainpage].pages[subpage].widgets[widget].pieces["button"].configure(text=label)
|
||||
|
||||
# Get Multiworld Worlds count
|
||||
mainpage = "randomizer"
|
||||
subpage = "multiworld"
|
||||
mainpage = "bottom"
|
||||
subpage = "content"
|
||||
widget = "worlds"
|
||||
setting = "multi"
|
||||
# set textbox/frame label
|
||||
@@ -108,8 +108,8 @@ def loadcliargs(gui, args, settings=None):
|
||||
gui.pages[mainpage].pages[subpage].widgets[widget].storageVar.set(str(args[setting]))
|
||||
|
||||
# Set Multiworld Names
|
||||
mainpage = "randomizer"
|
||||
subpage = "multiworld"
|
||||
mainpage = "bottom"
|
||||
subpage = "content"
|
||||
widget = "names"
|
||||
# set textbox/frame label
|
||||
label = fish.translate("gui","gui",mainpage + '.' + subpage + '.' + widget)
|
||||
|
||||
Reference in New Issue
Block a user