Changed guid to GUID in the filter

We use the veriable as upper.
This commit is contained in:
Jaime van Kessel 2016-09-13 14:35:45 +02:00
parent cb50c61293
commit 4db1db302b

View file

@ -286,7 +286,7 @@ class PrinterOutputDevice(QObject, OutputDevice):
result.append(i18n_catalog.i18nc("@item:material", "No material loaded"))
continue
containers = self._container_registry.findInstanceContainers(type = "material", guid = material_id)
containers = self._container_registry.findInstanceContainers(type = "material", GUID = material_id)
if containers:
result.append(containers[0].getName())
else: