mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Don't look at the timer
This commit is contained in:
parent
373c953dbf
commit
2af33738d1
1 changed files with 6 additions and 3 deletions
|
@ -58,10 +58,13 @@ class CloudOutputDeviceManager:
|
|||
|
||||
# Called when the uses logs in or out
|
||||
def _onLoginStateChanged(self) -> None:
|
||||
if self._account.isLoggedIn and not self._update_timer.isActive():
|
||||
self._update_timer.start()
|
||||
if self._account.isLoggedIn:
|
||||
if not self._update_timer.isActive():
|
||||
self._update_timer.start()
|
||||
else:
|
||||
self._update_timer.stop()
|
||||
if self._update_timer.isActive():
|
||||
self._update_timer.stop()
|
||||
|
||||
# Notify that all clusters have disappeared
|
||||
self._onGetRemoteClustersFinished([])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue