mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-22 13:49:39 +08:00
Ensure material is selected on first opening of material manager
This commit is contained in:
parent
d905b8b8cc
commit
e805c3db05
@ -53,7 +53,11 @@ Item
|
||||
}
|
||||
|
||||
// When loaded, try to select the active material in the tree
|
||||
Component.onCompleted: resetExpandedActiveMaterial()
|
||||
Component.onCompleted:
|
||||
{
|
||||
resetExpandedActiveMaterial()
|
||||
base.newRootMaterialIdToSwitchTo = active_root_material_id
|
||||
}
|
||||
|
||||
// Every time the selected item has changed, notify to the details panel
|
||||
onCurrentItemChanged:
|
||||
|
Loading…
x
Reference in New Issue
Block a user