Fix not being able to close the app during initial login phase

This commit is contained in:
DevilXD committed 2022-11-05 10:46:10 +01:00
1 parent ecc381851f
commit ca5215bef3
1 file changed
+1 -1
+1 -1
View File
@@ -457,7 +457,7 @@ class LoginForm:
self._confirm.clear()
try:
self._button.config(state="normal")
await self._confirm.wait()
await self._manager.coro_unless_closed(self._confirm.wait())
finally:
self._button.config(state="disabled")
self._confirm.clear()