mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-29 16:32:07 +08:00
Change the active quality if we remove the active quality
Contributes to CURA-2006
This commit is contained in:
parent
5edeaa1c93
commit
be4db899a6
@ -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…
x
Reference in New Issue
Block a user