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

Add stub button to sync configuration from printer to Cura

inb4 string-freeze
CURA-2276
fieldOfView 8 лет назад
Родитель
Сommit
5c4f79eab3
1 измененных файлов с 7 добавлено и 1 удалено
  1. 7 1
      UM3InfoComponents.qml

+ 7 - 1
UM3InfoComponents.qml

@@ -64,12 +64,18 @@ Item
         visible: isUM3
         Button
         {
-            height: UM.Theme.getSize("save_button_save_to_button").height
             tooltip: catalog.i18nc("@info:tooltip", "Send access request to the printer")
             text: catalog.i18nc("@action:button", "Request Access")
             onClicked: Cura.MachineManager.printerOutputDevices[0].requestAuthentication()
             visible: base.printerConnected && !base.printerAcceptsCommands
         }
+
+        Button
+        {
+            tooltip: catalog.i18nc("@info:tooltip", "Load the configuration of the printer into Cura")
+            text: catalog.i18nc("@action:button", "Activate Configuration")
+            visible: false
+        }
     }
 
     UM.I18nCatalog{id: catalog; name:"cura"}