Просмотр исходного кода

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 лет назад
Родитель
Сommit
615f16bda0
1 измененных файлов с 1 добавлено и 0 удалено
  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!
         width: childrenRect.width
+        visible: OutputDevice.canReadPrinterDetails
 
         UM.ColorImage
         {