mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 14:04:03 -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()
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue