Fix cluster host checking, show neat actionable message when not host

This commit is contained in:
ChrisTerBeke 2019-08-09 12:38:25 +02:00
parent 669e64afdb
commit 90c69e079c
4 changed files with 40 additions and 14 deletions

View file

@ -215,11 +215,6 @@ class LocalClusterOutputDeviceManager:
LegacyDeviceNoLongerSupportedMessage().show()
return
# Tell the user that they cannot connect to a non-host printer.
if device.clusterSize < 1:
NotClusterHostMessage().show()
return
device.connect()
machine.addConfiguredConnectionType(device.connectionType.value)
CuraApplication.getInstance().getOutputDeviceManager().addOutputDevice(device)