mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 15:05:54 +08:00
Don't look at the timer
This commit is contained in:
parent
373c953dbf
commit
2af33738d1
@ -58,10 +58,13 @@ class CloudOutputDeviceManager:
|
|||||||
|
|
||||||
# Called when the uses logs in or out
|
# Called when the uses logs in or out
|
||||||
def _onLoginStateChanged(self) -> None:
|
def _onLoginStateChanged(self) -> None:
|
||||||
if self._account.isLoggedIn and not self._update_timer.isActive():
|
if self._account.isLoggedIn:
|
||||||
self._update_timer.start()
|
if not self._update_timer.isActive():
|
||||||
|
self._update_timer.start()
|
||||||
else:
|
else:
|
||||||
self._update_timer.stop()
|
if self._update_timer.isActive():
|
||||||
|
self._update_timer.stop()
|
||||||
|
|
||||||
# Notify that all clusters have disappeared
|
# Notify that all clusters have disappeared
|
||||||
self._onGetRemoteClustersFinished([])
|
self._onGetRemoteClustersFinished([])
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user