Fix not being able to close the app during initial login phase
This commit is contained in:
1 parent
ecc381851f
commit
ca5215bef3
1 file changed
+1
-1
@@ -457,7 +457,7 @@ class LoginForm:
|
|||||||
self._confirm.clear()
|
self._confirm.clear()
|
||||||
try:
|
try:
|
||||||
self._button.config(state="normal")
|
self._button.config(state="normal")
|
||||||
await self._confirm.wait()
|
await self._manager.coro_unless_closed(self._confirm.wait())
|
||||||
finally:
|
finally:
|
||||||
self._button.config(state="disabled")
|
self._button.config(state="disabled")
|
||||||
self._confirm.clear()
|
self._confirm.clear()
|
||||||
|
|||||||
Reference in new issue
Block a user