mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 22:13:58 -06:00
Apply suggestions from code review.
part of CURA-9347 Co-authored-by: Joey de l'Arago <joeydelarago@gmail.com>
This commit is contained in:
parent
3bc955fe8f
commit
9fe261ff58
3 changed files with 5 additions and 6 deletions
|
@ -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()
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -67,9 +67,8 @@ UM.Dialog
|
|||
}
|
||||
|
||||
// spacer
|
||||
Rectangle
|
||||
Item
|
||||
{
|
||||
color: base.backgroundColor
|
||||
height: UM.Theme.getSize("wide_margin").height
|
||||
width: height
|
||||
}
|
||||
|
|
|
@ -155,9 +155,9 @@ Item
|
|||
ProfileWarningReset
|
||||
{
|
||||
id: profileWarningReset
|
||||
fullWarning: false
|
||||
anchors.right: parent.right
|
||||
width: childrenRect.width
|
||||
anchors.right: parent.right
|
||||
fullWarning: false
|
||||
}
|
||||
|
||||
QualitiesWithIntentMenu
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue