From 32afa9bfd4e544402a207e95ef78da9dba6c4d63 Mon Sep 17 00:00:00 2001 From: Jack Ha Date: Thu, 22 Feb 2018 14:27:58 +0100 Subject: [PATCH] CURA-4606 CURA-5003 fixed sometimes crash material management page upon opening, provide correct containerId to MaterialView --- resources/qml/Preferences/MaterialsPage.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/qml/Preferences/MaterialsPage.qml b/resources/qml/Preferences/MaterialsPage.qml index 8d14ada759..22d906ac62 100644 --- a/resources/qml/Preferences/MaterialsPage.qml +++ b/resources/qml/Preferences/MaterialsPage.qml @@ -433,8 +433,8 @@ Item editingEnabled: base.currentItem != null && !base.currentItem.is_read_only properties: materialProperties - containerId: base.currentItem != null ? base.currentItem.id : "" - currentMaterialNode: base.currentItem + containerId: base.currentItem != null ? base.currentItem.container_id : "" + currentMaterialNode: base.currentItem.container_node property alias pane: base }