Strip Bottom

This commit is contained in:
Mike A. Trethewey
2020-03-10 02:57:20 -07:00
parent 014aa3519c
commit 58bb9fffba
3 changed files with 111 additions and 23 deletions

8
Gui.py
View File

@@ -21,6 +21,8 @@ from source.gui.bottom import bottom_frame, create_guiargs
from GuiUtils import set_icon
from Main import __version__ as ESVersion
from source.classes.BabelFish import BabelFish
def guiMain(args=None):
# Save settings to file
@@ -143,6 +145,12 @@ def guiMain(args=None):
# add randomizer notebook to main window
self.pages["randomizer"].notebook.pack()
settings = get_args_priority(None, None, None)
lang = "en"
if "load" in settings and "lang" in settings["load"]:
lang = settings["load"]["lang"]
self.fish = BabelFish(lang=lang)
# bottom of window: Open Output Directory, Open Documentation (if exists)
self.frames["bottom"] = bottom_frame(self, self, None)
## Save Settings Button