mirror of
https://gitlab.com/RemixDev/deemix-gui-pyweb.git
synced 2024-12-29 10:56:06 +00:00
Moved arl clear on window open instead of window close
This commit is contained in:
parent
4bae5e9396
commit
44d650072a
|
@ -151,6 +151,7 @@ class MainWindow(QMainWindow):
|
||||||
self._selectDownloadFolder_semaphore.release()
|
self._selectDownloadFolder_semaphore.release()
|
||||||
|
|
||||||
def appLogin(self):
|
def appLogin(self):
|
||||||
|
self.arl = None
|
||||||
loginWindow = LoginWindow(self)
|
loginWindow = LoginWindow(self)
|
||||||
self.arl = loginWindow.arl
|
self.arl = loginWindow.arl
|
||||||
self._appLogin_semaphore.release()
|
self._appLogin_semaphore.release()
|
||||||
|
|
|
@ -400,7 +400,6 @@ def applogin():
|
||||||
gui._appLogin_semaphore.acquire()
|
gui._appLogin_semaphore.acquire()
|
||||||
if gui.arl:
|
if gui.arl:
|
||||||
emit('applogin_arl', gui.arl)
|
emit('applogin_arl', gui.arl)
|
||||||
gui.arl = None
|
|
||||||
else:
|
else:
|
||||||
emit('logged_in', {'status': 2, 'user': session['dz'].user})
|
emit('logged_in', {'status': 2, 'user': session['dz'].user})
|
||||||
else:
|
else:
|
||||||
|
|
2
webui
2
webui
|
@ -1 +1 @@
|
||||||
Subproject commit 760ce913b6e36c7d418927dc34f6ef1f37c272d9
|
Subproject commit c1198037a84fed2cfa9e782035c8345c444996b6
|
Loading…
Reference in a new issue