mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 06:43:15 +08:00
Only highlight the currently active machine
CURA-6483
This commit is contained in:
parent
d18c11a2c1
commit
e1766b72ec
@ -32,16 +32,7 @@ ListView
|
||||
width: listView.width
|
||||
outputDevice: Cura.MachineManager.printerOutputDevices.length >= 1 ? Cura.MachineManager.printerOutputDevices[0] : null
|
||||
|
||||
checked:
|
||||
{
|
||||
// If the machine has a remote connection
|
||||
var result = Cura.MachineManager.activeMachineId == model.id
|
||||
if (Cura.MachineManager.activeMachineHasRemoteConnection)
|
||||
{
|
||||
result |= Cura.MachineManager.activeMachineNetworkGroupName == model.metadata["group_name"]
|
||||
}
|
||||
return result
|
||||
}
|
||||
checked: Cura.MachineManager.activeMachineId == model.id
|
||||
|
||||
onClicked:
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user