mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-11 16:00:47 -07:00
Re-add Duplicate button in profiles page
CURA-8982
This commit is contained in:
parent
6b9e66cfb7
commit
165172f919
1 changed files with 10 additions and 0 deletions
|
|
@ -179,6 +179,16 @@ UM.ManagementPage
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Cura.MenuItem
|
Cura.MenuItem
|
||||||
|
{
|
||||||
|
text: catalog.i18nc("@action:button", "Duplicate")
|
||||||
|
enabled: base.hasCurrentItem
|
||||||
|
onTriggered:
|
||||||
|
{
|
||||||
|
forceActiveFocus()
|
||||||
|
duplicateQualityDialog.open()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Cura.MenuItem
|
||||||
{
|
{
|
||||||
text: catalog.i18nc("@action:button", "Remove")
|
text: catalog.i18nc("@action:button", "Remove")
|
||||||
enabled: base.hasCurrentItem && !base.currentItem.is_read_only && !base.isCurrentItemActivated
|
enabled: base.hasCurrentItem && !base.currentItem.is_read_only && !base.isCurrentItemActivated
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue