diff --git a/resources/qml/Preferences/MaterialsPage.qml b/resources/qml/Preferences/MaterialsPage.qml index 35fa7256ea..bacb4f73bb 100644 --- a/resources/qml/Preferences/MaterialsPage.qml +++ b/resources/qml/Preferences/MaterialsPage.qml @@ -147,7 +147,7 @@ UM.ManagementPage editingEnabled: base.currentItem != null && !base.currentItem.readOnly && editButton.checked; properties: materialProperties - containerId: base.currentItem.id + containerId: base.currentItem != null ? base.currentItem.id : "" } QtObject