Restore app from tray when the login procedure starts
This commit is contained in:
1 parent
147639a454
commit
8ecf26bc37
1 file changed
+2
@@ -453,6 +453,8 @@ class LoginForm:
|
|||||||
async def ask_login(self) -> str:
|
async def ask_login(self) -> str:
|
||||||
self.update(_("gui", "login", "required"), None)
|
self.update(_("gui", "login", "required"), None)
|
||||||
self._manager.print(_("gui", "login", "request"))
|
self._manager.print(_("gui", "login", "request"))
|
||||||
|
# ensure the window isn't hidden into tray when this runs
|
||||||
|
self._manager.tray.restore()
|
||||||
# the user needs to press on the login button to open the browser
|
# the user needs to press on the login button to open the browser
|
||||||
self._confirm.clear()
|
self._confirm.clear()
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in new issue
Block a user