mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 16:48:58 +08: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
@ -178,15 +178,15 @@ UM.Dialog
|
|||||||
{
|
{
|
||||||
id: overwriteButton
|
id: overwriteButton
|
||||||
text: catalog.i18nc("@action:button", "Save as new custom profile")
|
text: catalog.i18nc("@action:button", "Save as new custom profile")
|
||||||
onClicked: base.accept()
|
|
||||||
visible: alternateStates.state != ""
|
visible: alternateStates.state != ""
|
||||||
|
onClicked: base.accept()
|
||||||
},
|
},
|
||||||
Cura.PrimaryButton
|
Cura.PrimaryButton
|
||||||
{
|
{
|
||||||
id: saveButton
|
id: saveButton
|
||||||
text: catalog.i18nc("@action:button", "Save changes")
|
text: catalog.i18nc("@action:button", "Save changes")
|
||||||
onClicked: base.reject()
|
|
||||||
visible: alternateStates.state == "saveFromCustom"
|
visible: alternateStates.state == "saveFromCustom"
|
||||||
|
onClicked: base.reject()
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -67,9 +67,8 @@ UM.Dialog
|
|||||||
}
|
}
|
||||||
|
|
||||||
// spacer
|
// spacer
|
||||||
Rectangle
|
Item
|
||||||
{
|
{
|
||||||
color: base.backgroundColor
|
|
||||||
height: UM.Theme.getSize("wide_margin").height
|
height: UM.Theme.getSize("wide_margin").height
|
||||||
width: height
|
width: height
|
||||||
}
|
}
|
||||||
|
@ -155,9 +155,9 @@ Item
|
|||||||
ProfileWarningReset
|
ProfileWarningReset
|
||||||
{
|
{
|
||||||
id: profileWarningReset
|
id: profileWarningReset
|
||||||
fullWarning: false
|
|
||||||
anchors.right: parent.right
|
|
||||||
width: childrenRect.width
|
width: childrenRect.width
|
||||||
|
anchors.right: parent.right
|
||||||
|
fullWarning: false
|
||||||
}
|
}
|
||||||
|
|
||||||
QualitiesWithIntentMenu
|
QualitiesWithIntentMenu
|
||||||
|
Loading…
x
Reference in New Issue
Block a user