Apply suggestions from code review.

part of CURA-9347

Co-authored-by: Joey de l'Arago <joeydelarago@gmail.com>
This commit is contained in:
Remco Burema 2022-12-02 19:07:41 +01:00 committed by GitHub
parent 3bc955fe8f
commit 9fe261ff58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 6 deletions

View file

@ -178,15 +178,15 @@ UM.Dialog
{
id: overwriteButton
text: catalog.i18nc("@action:button", "Save as new custom profile")
onClicked: base.accept()
visible: alternateStates.state != ""
onClicked: base.accept()
},
Cura.PrimaryButton
{
id: saveButton
text: catalog.i18nc("@action:button", "Save changes")
onClicked: base.reject()
visible: alternateStates.state == "saveFromCustom"
onClicked: base.reject()
}
]
}

View file

@ -67,9 +67,8 @@ UM.Dialog
}
// spacer
Rectangle
Item
{
color: base.backgroundColor
height: UM.Theme.getSize("wide_margin").height
width: height
}

View file

@ -155,9 +155,9 @@ Item
ProfileWarningReset
{
id: profileWarningReset
fullWarning: false
anchors.right: parent.right
width: childrenRect.width
anchors.right: parent.right
fullWarning: false
}
QualitiesWithIntentMenu