Fix the disabling of the material setting fields.

This was caused by using 2 different modelsItems.
This commit is contained in:
Jaime van Kessel 2019-07-30 11:29:49 +02:00
parent 399e6d31ae
commit 914d2e98e9
2 changed files with 6 additions and 1 deletions

View file

@ -45,6 +45,11 @@ Item
materialListView.expandActiveMaterial(active_root_material_id)
}
function setExpandedActiveMaterial(root_material_id)
{
materialListView.expandActiveMaterial(root_material_id)
}
// When loaded, try to select the active material in the tree
Component.onCompleted: resetExpandedActiveMaterial()