Commented out duplicate and import, on OS X 'visible' does not work

This commit is contained in:
Jack Ha 2016-09-01 11:22:38 +02:00
parent 1fda24c43f
commit e9d9597caa

View file

@ -129,6 +129,7 @@ UM.ManagementPage
enabled: base.currentItem != null && base.currentItem.id != Cura.MachineManager.activeMaterialId
onClicked: Cura.MachineManager.setActiveMaterial(base.currentItem.id)
},
/* // apparently visible does not work on OS X
Button
{
text: catalog.i18nc("@action:button", "Duplicate");
@ -153,6 +154,7 @@ UM.ManagementPage
}
visible: false;
},
*/
Button
{
text: catalog.i18nc("@action:button", "Remove");
@ -160,6 +162,7 @@ UM.ManagementPage
enabled: base.currentItem != null && !base.currentItem.readOnly && !Cura.ContainerManager.isContainerUsed(base.currentItem.id)
onClicked: confirmDialog.open()
},
/* // apparently visible does not work on OS X
Button
{
text: catalog.i18nc("@action:button", "Import");
@ -167,6 +170,7 @@ UM.ManagementPage
onClicked: importDialog.open();
visible: false;
},
*/
Button
{
text: catalog.i18nc("@action:button", "Export")