Browse Source

Hide button entirely if no export is available

Not just disabling it.

Contributes to issue CURA-8055.
Ghostkeeper 3 years ago
parent
commit
ec727e1068
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/qml/Preferences/Materials/MaterialsPage.qml

+ 1 - 1
resources/qml/Preferences/Materials/MaterialsPage.qml

@@ -203,7 +203,7 @@ Item
                 forceActiveFocus();
                 exportAllMaterialsDialog.open();
             }
-            enabled: Cura.MachineManager.activeMachine.supportsMaterialExport
+            visible: Cura.MachineManager.activeMachine.supportsMaterialExport
         }
     }