Merge pull request #53 from SemjonKerner/fixup_quit_messagebox

remove brackets
This commit is contained in:
Adam Saudagar 2021-03-28 23:06:40 +05:30 committed by GitHub
commit 862a5dc114
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,7 +132,7 @@ def _create(gui: 'GUI'):
# noinspection PyProtectedMember
def set_destroy():
if gui._bot_running:
if(not messagebox.askyesno(title="Quit?", message="Bot engine running. Quit Anyway?")):
if not messagebox.askyesno(title="Quit?", message="Bot engine running. Quit Anyway?"):
return
config.set("win_loc", gui._root.geometry())