mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Disable connection status icon for drop down in WorkspaceDialog. It is not possible to display the correct status for LAN printers without making them the active printer anyway.
CURA-9424
This commit is contained in:
parent
28862c89e5
commit
a30fbf5a8f
2 changed files with 3 additions and 2 deletions
|
@ -116,6 +116,7 @@ UM.Dialog
|
|||
isCloudRegistered: false
|
||||
isNetworkPrinter: manager.isNetworked
|
||||
isGroup: manager.isAbstractMachine
|
||||
connectionStatus: ""
|
||||
|
||||
minDropDownWidth: machineSelector.width
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ Cura.ExpandablePopup
|
|||
|
||||
property list<Item> buttons
|
||||
|
||||
readonly property string connectionStatus: {
|
||||
property string connectionStatus: {
|
||||
if (isNetworkPrinter)
|
||||
{
|
||||
return "printer_connected"
|
||||
|
@ -148,7 +148,7 @@ Cura.ExpandablePopup
|
|||
|
||||
color: connectionStatus == "printer_cloud_not_available" ? UM.Theme.getColor("cloud_unavailable") : UM.Theme.getColor("primary")
|
||||
|
||||
visible: isNetworkPrinter || isCloudRegistered
|
||||
visible: (isNetworkPrinter || isCloudRegistered) && source != ""
|
||||
|
||||
// Make a themable circle in the background so we can change it in other themes
|
||||
Rectangle
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue