From 302e0c627761cdd724e3be87abdac46a1d8b8222 Mon Sep 17 00:00:00 2001 From: Remco Burema Date: Wed, 22 Jul 2020 11:04:58 +0200 Subject: [PATCH] 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. --- .../qml/Dialogs/DiscardOrKeepProfileChangesDialog.qml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/resources/qml/Dialogs/DiscardOrKeepProfileChangesDialog.qml b/resources/qml/Dialogs/DiscardOrKeepProfileChangesDialog.qml index a5ee7b5986..a22a5ca4f4 100644 --- a/resources/qml/Dialogs/DiscardOrKeepProfileChangesDialog.qml +++ b/resources/qml/Dialogs/DiscardOrKeepProfileChangesDialog.qml @@ -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() - } } } \ No newline at end of file