commit df6049f05b426e1de1bddd6901f3565dbaf82770
parent 816a9a24e96af498b3e5c2dc4ba2de17b2aad3dc
Author: therealFIGBERT <figbertwelner@gmail.com>
Date: Sun, 11 Aug 2019 12:07:50 -0700
2.2.4
Diffstat:
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/Scripts/figENC.py b/Scripts/figENC.py
@@ -26,7 +26,7 @@ class App():
self.tips_file = find_path("tips.json")
with open(self.settings_file) as settings_file:
settings = json.load(settings_file)
- self.main_app(root, settings)
+ root.withdraw()
self.launcher = tk.Toplevel()
self.launcher.wm_title("figENC")
@@ -385,7 +385,6 @@ class App():
passcheck=self.confirm_input.get()
)
)
- root.withdraw()
def open_settings(self, root):
"""Open the settings window and temporarily minimize the root window
@@ -552,9 +551,11 @@ class App():
Keyword arguments:
root -- the main app window
"""
+ with open(self.settings_file) as settings_file:
+ settings = json.load(settings_file)
+ self.main_app(root, settings)
root.deiconify()
self.launcher.destroy()
- self.frame.update()
def reset(self):
diff --git a/Scripts/version.txt b/Scripts/version.txt
@@ -1 +1 @@
-2.2.2
-\ No newline at end of file
+2.2.4
+\ No newline at end of file