mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Don't reset selected material upon container changed
The onActiveMaterialChanged signal is triggered upon loading a material for the first time. This is hard to fix without breaking stuff, so we will revert this part. This re-introduces a bug where if you change a material diameter such that the material disappears from the list, it is still selected and you can change its properties in the details panel. Contributes to issue CURA-6679.
This commit is contained in:
parent
be4e754984
commit
18d1148c78
1 changed files with 0 additions and 9 deletions
|
|
@ -48,15 +48,6 @@ Item
|
||||||
// When loaded, try to select the active material in the tree
|
// When loaded, try to select the active material in the tree
|
||||||
Component.onCompleted: resetExpandedActiveMaterial()
|
Component.onCompleted: resetExpandedActiveMaterial()
|
||||||
|
|
||||||
Connections
|
|
||||||
{
|
|
||||||
target: Cura.MachineManager
|
|
||||||
onActiveMaterialChanged:
|
|
||||||
{
|
|
||||||
resetExpandedActiveMaterial()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Every time the selected item has changed, notify to the details panel
|
// Every time the selected item has changed, notify to the details panel
|
||||||
onCurrentItemChanged:
|
onCurrentItemChanged:
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue