Remove deprecated MachineManager.activeMachineHasRemoteConnection

CURA-6858
This commit is contained in:
Lipu Fei 2019-10-22 14:09:43 +02:00
parent 38ee4bf208
commit 1f3a7c976f
3 changed files with 15 additions and 13 deletions

View file

@ -140,7 +140,7 @@ Cura.ExpandablePopup
onVisibleChanged:
{
is_connected = Cura.MachineManager.activeMachineHasRemoteConnection && Cura.MachineManager.printerConnected && Cura.MachineManager.printerOutputDevices[0].uniqueConfigurations.length > 0 //Re-evaluate.
is_connected = Cura.MachineManager.activeMachine.hasRemoteConnection && Cura.MachineManager.printerConnected && Cura.MachineManager.printerOutputDevices[0].uniqueConfigurations.length > 0 //Re-evaluate.
// If the printer is not connected or does not have configurations, we switch always to the custom mode. If is connected instead, the auto mode
// or the previous state is selected