mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Add isOnline role to GlobalStacksModel
This way we can filter for only online printers or display whether printers are online or not in the future. Contributes to issue CURA-8609.
This commit is contained in:
parent
93953630ec
commit
32c63c2757
2 changed files with 6 additions and 2 deletions
|
|
@ -247,7 +247,7 @@ Window
|
|||
}
|
||||
|
||||
source: UM.Theme.getIcon("CloudBadge", "low")
|
||||
color: "red" //TODO: connectionStatus == "printer_cloud_not_available" ? UM.Theme.getColor("cloud_unavailable") : UM.Theme.getColor("primary")
|
||||
color: model.isOnline ? UM.Theme.getColor("primary") : UM.Theme.getColor("cloud_unavailable")
|
||||
|
||||
//Make a themeable circle in the background so we can change it in other themes.
|
||||
Rectangle
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue