mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Only highlight the currently active machine
CURA-6483
This commit is contained in:
parent
d18c11a2c1
commit
e1766b72ec
1 changed files with 1 additions and 10 deletions
|
|
@ -32,16 +32,7 @@ ListView
|
||||||
width: listView.width
|
width: listView.width
|
||||||
outputDevice: Cura.MachineManager.printerOutputDevices.length >= 1 ? Cura.MachineManager.printerOutputDevices[0] : null
|
outputDevice: Cura.MachineManager.printerOutputDevices.length >= 1 ? Cura.MachineManager.printerOutputDevices[0] : null
|
||||||
|
|
||||||
checked:
|
checked: Cura.MachineManager.activeMachineId == model.id
|
||||||
{
|
|
||||||
// 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
|
|
||||||
}
|
|
||||||
|
|
||||||
onClicked:
|
onClicked:
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue