mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 05:05:53 +08:00
Fixes for review
This commit is contained in:
parent
de24c7d9c3
commit
b7fb969524
@ -101,7 +101,9 @@ class CloudOutputDeviceManager:
|
|||||||
if not active_machine:
|
if not active_machine:
|
||||||
return
|
return
|
||||||
|
|
||||||
# Remove all output devices that we have registered. TODO: Why??
|
# Remove all output devices that we have registered.
|
||||||
|
# This is needed because when we switch machines we can only leave
|
||||||
|
# output devices that are meant for that machine.
|
||||||
for stored_cluster_id in self._remote_clusters:
|
for stored_cluster_id in self._remote_clusters:
|
||||||
self._output_device_manager.removeOutputDevice(stored_cluster_id)
|
self._output_device_manager.removeOutputDevice(stored_cluster_id)
|
||||||
|
|
||||||
|
@ -19,11 +19,6 @@ class CloudProgressMessage(Message):
|
|||||||
use_inactivity_timer = False
|
use_inactivity_timer = False
|
||||||
)
|
)
|
||||||
|
|
||||||
## Returns a boolean indicating whether this message is currently visible
|
|
||||||
@property
|
|
||||||
def visible(self) -> bool:
|
|
||||||
return self._visible
|
|
||||||
|
|
||||||
## Shows the progress message.
|
## Shows the progress message.
|
||||||
def show(self):
|
def show(self):
|
||||||
self.setProgress(0)
|
self.setProgress(0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user