diff --git a/main_app.py b/main_app.py index 5c3974f..b32754f 100644 --- a/main_app.py +++ b/main_app.py @@ -567,6 +567,7 @@ def on_closing(self): try: keyboard.unhook_all() except: pass try: + x = y + self.config['window_geometry'] = self.master.geometry() config_manager.save_config(self.config) except: pass @@ -577,4 +578,5 @@ def on_closing(self): config = config_manager.load_config() root = tk.Tk() app = Application(master=root, config=config) - app.mainloop() \ No newline at end of file + + app.mainloop() diff --git a/utils.py b/utils.py index d86d5b4..f26c4e3 100644 --- a/utils.py +++ b/utils.py @@ -17,4 +17,9 @@ def open_folder_in_explorer(path): else: # Linux subprocess.call(['xdg-open', path]) except Exception as e: - messagebox.showerror("エラー", f"フォルダを開けませんでした。\n{e}") \ No newline at end of file + + messagebox.showerror("エラー", f"フォルダを開けませんでした。\n{e}") + + + +