Prevent cura crash after setting Print as Support in per object setting

menu
CURA-5766
This commit is contained in:
alekseisasin 2018-09-26 17:06:24 +02:00
parent baa8064ec7
commit 2a201cef23

View file

@ -185,6 +185,12 @@ Item {
{
selectedObjectId: UM.ActiveTool.properties.getValue("SelectedObjectId")
}
// For some reason the model object is updated after removing him from the memory and
// it happens only on Windows. For this reason, set the destroyed value manually.
Component.onDestruction: {
setDestroyed(true);
}
}
delegate: Row