Moved arl clear on window open instead of window close

This commit is contained in:
RemixDev 2020-09-23 18:52:15 +02:00
parent 4bae5e9396
commit 44d650072a
3 changed files with 2 additions and 2 deletions

View file

@ -151,6 +151,7 @@ class MainWindow(QMainWindow):
self._selectDownloadFolder_semaphore.release()
def appLogin(self):
self.arl = None
loginWindow = LoginWindow(self)
self.arl = loginWindow.arl
self._appLogin_semaphore.release()

View file

@ -400,7 +400,6 @@ def applogin():
gui._appLogin_semaphore.acquire()
if gui.arl:
emit('applogin_arl', gui.arl)
gui.arl = None
else:
emit('logged_in', {'status': 2, 'user': session['dz'].user})
else:

2
webui

@ -1 +1 @@
Subproject commit 760ce913b6e36c7d418927dc34f6ef1f37c272d9
Subproject commit c1198037a84fed2cfa9e782035c8345c444996b6