mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 07:09:01 +08:00
Update current index in material dialog
CURA-4774 There is a delay so we update the current index when the model gets changed.
This commit is contained in:
parent
3de4940d69
commit
93599de642
@ -153,6 +153,15 @@ UM.ManagementPage
|
||||
forceActiveFocus()
|
||||
Cura.ContainerManager.createMaterial()
|
||||
}
|
||||
|
||||
Connections
|
||||
{
|
||||
target: base.objectList.model
|
||||
onItemsChanged:
|
||||
{
|
||||
base.objectList.currentIndex = base.getIndexById(Cura.MachineManager.activeMaterialId);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
// Duplicate button
|
||||
|
Loading…
x
Reference in New Issue
Block a user