Browse Source

Fix type error for hovering manage queue link

Contributes to CL-1148
Ian Paschal 6 years ago
parent
commit
ba7863c9d9
1 changed files with 9 additions and 2 deletions
  1. 9 2
      plugins/UM3NetworkPrinting/resources/qml/ClusterMonitorItem.qml

+ 9 - 2
plugins/UM3NetworkPrinting/resources/qml/ClusterMonitorItem.qml

@@ -91,6 +91,7 @@ Component
                 }
                 Label
                 {
+                    id: manageQueueText
                     anchors
                     {
                         left: externalLinkIcon.right
@@ -110,8 +111,14 @@ Component
                 anchors.fill: manageQueueLabel
                 hoverEnabled: true
                 onClicked: Cura.MachineManager.printerOutputDevices[0].openPrintJobControlPanel()
-                onEntered: manageQueueLabel.font.underline = true
-                onExited: manageQueueLabel.font.underline = false
+                onEntered:
+                {
+                    manageQueueText.font.underline = true
+                }
+                onExited:
+                {
+                    manageQueueText.font.underline = false
+                }
             }
 
             Row