mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 02:37:49 -06:00
Change the active quality if we remove the active quality
Contributes to CURA-2006
This commit is contained in:
parent
5edeaa1c93
commit
be4db899a6
1 changed files with 9 additions and 1 deletions
|
@ -227,7 +227,15 @@ UM.ManagementPage
|
|||
{
|
||||
id: confirmDialog
|
||||
object: base.currentItem != null ? base.currentItem.name : ""
|
||||
onYes: Cura.ContainerManager.removeQualityChanges(base.currentItem.name)
|
||||
onYes:
|
||||
{
|
||||
var name = base.currentItem.name;
|
||||
Cura.ContainerManager.removeQualityChanges(name)
|
||||
if(Cura.MachineManager.activeQualityName == name)
|
||||
{
|
||||
Cura.MachineManager.setActiveQuality(base.model.getItem(0).name)
|
||||
}
|
||||
}
|
||||
}
|
||||
UM.RenameDialog
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue