Remove redundant button.

As discussed in the CCB this morning. Since the new profile will be the _changed to_ profile rather than the _changed from_ (the latter of which would make the button useful, but since the profile is already switched at that point it would be a lot of work), the 'Create New Profile ...' button (in  the Keep/Discard dialog) is redundant, since you can always create a new profile if you select keep changes.
This commit is contained in:
Remco Burema 2020-07-22 11:04:58 +02:00
parent 9daab5ed9b
commit 302e0c6277
No known key found for this signature in database
GPG key ID: 215C49431D43F98C

View file

@ -216,14 +216,5 @@ UM.Dialog
base.hide()
}
}
Button
{
id: createNewProfileButton
text: catalog.i18nc("@action:button", "Create New Profile");
anchors.left: parent.left
action: Cura.Actions.addProfile
onClicked: base.hide()
}
}
}