Browse Source

Merge branch 'master' of github.com:Ultimaker/JediWifiPrintingPlugin

Jaime van Kessel 8 years ago
parent
commit
2c29085a20
2 changed files with 8 additions and 1 deletions
  1. 1 0
      CMakeLists.txt
  2. 7 1
      UM3InfoComponents.qml

+ 1 - 0
CMakeLists.txt

@@ -7,6 +7,7 @@ install(FILES
     DiscoverUM3Action.qml
     NetworkPrinterOutputDevice.py
     NetworkPrinterOutputDevicePlugin.py
+    UM3InfoComponents.qml
     LICENSE
     README.md
     DESTINATION lib/cura/plugins/JediWifiPrintingPlugin

+ 7 - 1
UM3InfoComponents.qml

@@ -65,12 +65,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"}