mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-20 21:27:50 -06:00
(Add-by-IP) Incorporated review comments. [CURA-6294]
This commit is contained in:
parent
5b31feebba
commit
740dd095cc
1 changed files with 3 additions and 3 deletions
|
@ -37,8 +37,8 @@ i18n_catalog = i18nCatalog("cura")
|
||||||
# If we discover a printer that has the same key as the active machine instance a connection is made.
|
# If we discover a printer that has the same key as the active machine instance a connection is made.
|
||||||
@signalemitter
|
@signalemitter
|
||||||
class UM3OutputDevicePlugin(OutputDevicePlugin):
|
class UM3OutputDevicePlugin(OutputDevicePlugin):
|
||||||
addDeviceSignal = Signal()
|
addDeviceSignal = Signal() # Called '...Signal' to avoid confusion with function-names.
|
||||||
removeDeviceSignal = Signal()
|
removeDeviceSignal = Signal() # Ditto ^^^.
|
||||||
discoveredDevicesChanged = Signal()
|
discoveredDevicesChanged = Signal()
|
||||||
cloudFlowIsPossible = Signal()
|
cloudFlowIsPossible = Signal()
|
||||||
|
|
||||||
|
@ -187,7 +187,7 @@ class UM3OutputDevicePlugin(OutputDevicePlugin):
|
||||||
self._zero_conf.close()
|
self._zero_conf.close()
|
||||||
self._cloud_output_device_manager.stop()
|
self._cloud_output_device_manager.stop()
|
||||||
|
|
||||||
def canAddManualDevice(self, address: str) -> ManualDeviceAdditionAttempt:
|
def canAddManualDevice(self, address: str = "") -> ManualDeviceAdditionAttempt:
|
||||||
# This plugin should always be the fallback option (at least try it):
|
# This plugin should always be the fallback option (at least try it):
|
||||||
return ManualDeviceAdditionAttempt.POSSIBLE
|
return ManualDeviceAdditionAttempt.POSSIBLE
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue