Browse Source

Hide 'show in browser' when the user can't visit the printer overview

No use then. They can't visit that page.

Contributes to issue CURA-9220.
Ghostkeeper 2 years ago
parent
commit
615f16bda0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      plugins/UM3NetworkPrinting/resources/qml/MonitorQueue.qml

+ 1 - 0
plugins/UM3NetworkPrinting/resources/qml/MonitorQueue.qml

@@ -39,6 +39,7 @@ Item
         }
         }
         height: 18 * screenScaleFactor // TODO: Theme!
         height: 18 * screenScaleFactor // TODO: Theme!
         width: childrenRect.width
         width: childrenRect.width
+        visible: OutputDevice.canReadPrinterDetails
 
 
         UM.ColorImage
         UM.ColorImage
         {
         {