Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2022-03-14 13:56:45 +0300
committerJaime van Kessel <nallath@gmail.com>2022-03-14 13:56:45 +0300
commitc6326eff64323b5a4ab6da6532840042f78b3884 (patch)
treec3e5daae5b0809f04f424e9ba0c02647f57ecd14
parent0084001e2f896953526d7f10e3941de08688645e (diff)
Ensure that "update profile" button in preferences has correct enabled state
CURA-9023
-rw-r--r--resources/qml/Preferences/ProfilesPage.qml2
1 files changed, 1 insertions, 1 deletions
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")
}