mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 01:29:00 +08:00
Fix machine duplication when switching configuration
This commit is contained in:
parent
01f5956871
commit
45bbb189ce
@ -1247,6 +1247,8 @@ class MachineManager(QObject):
|
||||
if metadata_key in new_machine.getMetaData():
|
||||
continue # Don't copy the already preset stuff.
|
||||
new_machine.setMetaDataEntry(metadata_key, self._global_container_stack.getMetaDataEntry(metadata_key))
|
||||
# Special case, group_id should be overwritten!
|
||||
new_machine.setMetaDataEntry("group_id", self._global_container_stack.getMetaDataEntry("group_id"))
|
||||
else:
|
||||
Logger.log("i", "Found a %s with the key %s. Let's use it!", machine_name, self.activeMachineNetworkKey())
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user