diff options
author | Jaime van Kessel <nallath@gmail.com> | 2020-08-06 16:26:32 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2020-08-06 16:26:32 +0300 |
commit | 3cdf5a82a418abdcf13f37dee592b82b7657305f (patch) | |
tree | c5f60395d32e1c5e3dc51a3d77c987c763c2a764 /plugins/3MFReader | |
parent | ebdab94b98628f22e101ca2f93c067cbd2b837a3 (diff) |
Use correct property to search container stack
CURA-7609
Diffstat (limited to 'plugins/3MFReader')
-rwxr-xr-x | plugins/3MFReader/ThreeMFWorkspaceReader.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/3MFReader/ThreeMFWorkspaceReader.py b/plugins/3MFReader/ThreeMFWorkspaceReader.py index daf72d5aad..9285cd3731 100755 --- a/plugins/3MFReader/ThreeMFWorkspaceReader.py +++ b/plugins/3MFReader/ThreeMFWorkspaceReader.py @@ -672,7 +672,7 @@ class ThreeMFWorkspaceReader(WorkspaceReader): self._container_registry.addContainer(global_stack) else: # 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: message = Message(i18n_catalog.i18nc("@info:error Don't translate the XML tag <filename>!", "Project file <filename>{0}</filename> is made using profiles that" |