mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 09:47:50 -06:00
Fixes for review
This commit is contained in:
parent
de24c7d9c3
commit
b7fb969524
2 changed files with 3 additions and 6 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue