mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-05 16:51:12 -07:00
Ensure that the material selection gets reset when diameter is changed
CURA-6590
This commit is contained in:
parent
758a8a0078
commit
2cd6b73d12
3 changed files with 10 additions and 1 deletions
|
|
@ -41,8 +41,13 @@ Item
|
|||
name: "cura"
|
||||
}
|
||||
|
||||
function resetExpandedActiveMaterial()
|
||||
{
|
||||
materialListView.expandActiveMaterial(active_root_material_id)
|
||||
}
|
||||
|
||||
// When loaded, try to select the active material in the tree
|
||||
Component.onCompleted: materialListView.expandActiveMaterial(active_root_material_id)
|
||||
Component.onCompleted: resetExpandedActiveMaterial()
|
||||
|
||||
// Every time the selected item has changed, notify to the details panel
|
||||
onCurrentItemChanged:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue