diff --git a/fishy/gui/main_gui.py b/fishy/gui/main_gui.py index d12d83d..4a6184f 100644 --- a/fishy/gui/main_gui.py +++ b/fishy/gui/main_gui.py @@ -118,8 +118,8 @@ def _create(gui: 'GUI'): # noinspection PyProtectedMember def set_destroy(): if gui._bot_running: - logging.info("Turn off the bot engine first") - return + if(not messagebox.askyesno(title="Quit?", message="Bot engine running. Quit Anyway?")): + return config.set("win_loc", gui._root.geometry()) gui._destroyed = True