mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 09:47:50 -06:00
Use correct property to search container stack
CURA-7609
This commit is contained in:
parent
ebdab94b98
commit
3cdf5a82a4
1 changed files with 1 additions and 1 deletions
|
@ -672,7 +672,7 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
|
||||||
self._container_registry.addContainer(global_stack)
|
self._container_registry.addContainer(global_stack)
|
||||||
else:
|
else:
|
||||||
# Find the machine which will be overridden
|
# Find the machine which will be overridden
|
||||||
global_stacks = self._container_registry.findContainerStacks(name = self._dialog.getMachineToOverride(), type = "machine")
|
global_stacks = self._container_registry.findContainerStacks(id = self._dialog.getMachineToOverride(), type = "machine")
|
||||||
if not global_stacks:
|
if not global_stacks:
|
||||||
message = Message(i18n_catalog.i18nc("@info:error Don't translate the XML tag <filename>!",
|
message = Message(i18n_catalog.i18nc("@info:error Don't translate the XML tag <filename>!",
|
||||||
"Project file <filename>{0}</filename> is made using profiles that"
|
"Project file <filename>{0}</filename> is made using profiles that"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue