From c6326eff64323b5a4ab6da6532840042f78b3884 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Mon, 14 Mar 2022 11:56:45 +0100 Subject: [PATCH] Ensure that "update profile" button in preferences has correct enabled state CURA-9023 --- resources/qml/Preferences/ProfilesPage.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/qml/Preferences/ProfilesPage.qml b/resources/qml/Preferences/ProfilesPage.qml index 9024f7b2ea..b25bad39fb 100644 --- a/resources/qml/Preferences/ProfilesPage.qml +++ b/resources/qml/Preferences/ProfilesPage.qml @@ -333,7 +333,7 @@ UM.ManagementPage Cura.SecondaryButton { text: catalog.i18nc("@action:button", "Update profile") - enabled: Cura.MachineManager.hasUserSettings && objectList.currentIndex && !objectList.currentIndex.is_read_only + enabled: !Cura.MachineManager.stacksHaveErrors && Cura.MachineManager.hasUserSettings && Cura.MachineManager.activeQualityChangesGroup != null onClicked: Cura.ContainerManager.updateQualityChanges() tooltip: catalog.i18nc("@action:tooltip", "Update profile with current settings/overrides") }