diff options
Diffstat (limited to 'resources/qml/Preferences/MachinesPage.qml')
-rw-r--r-- | resources/qml/Preferences/MachinesPage.qml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/resources/qml/Preferences/MachinesPage.qml b/resources/qml/Preferences/MachinesPage.qml index 8adcb65fcf..b61f866833 100644 --- a/resources/qml/Preferences/MachinesPage.qml +++ b/resources/qml/Preferences/MachinesPage.qml @@ -39,7 +39,7 @@ UM.ManagementPage id: activateMenuButton text: catalog.i18nc("@action:button", "Activate"); iconName: "list-activate"; - enabled: base.currentItem != null && base.currentItem.id != Cura.MachineManager.activeMaterialId + enabled: base.currentItem != null && base.currentItem.id != Cura.MachineManager.activeMachine.id onClicked: Cura.MachineManager.setActiveMachine(base.currentItem.id) }, Button @@ -118,7 +118,10 @@ UM.ManagementPage UM.Dialog { id: actionDialog - + minimumWidth: UM.Theme.getSize("modal_window_minimum").width + minimumHeight: UM.Theme.getSize("modal_window_minimum").height + maximumWidth: minimumWidth * 3 + maximumHeight: minimumHeight * 3 rightButtons: Button { text: catalog.i18nc("@action:button", "Close") @@ -133,6 +136,7 @@ UM.ManagementPage { id: confirmDialog object: base.currentItem && base.currentItem.name ? base.currentItem.name : "" + text: base.currentItem ? base.currentItem.removalWarning : ""; onYes: { Cura.MachineManager.removeMachine(base.currentItem.id) |