mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 20:28:01 -06:00
Fixed saving of machines again
This commit is contained in:
parent
8b294fbe97
commit
cb742cf7ce
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ class CuraApplication(QtApplication):
|
|||
file_name = urllib.parse.quote_plus(stack.getId()) + ".stack.cfg"
|
||||
stack_type = stack.getMetaDataEntry("type", None)
|
||||
path = None
|
||||
if not stack_type:
|
||||
if stack_type == "machine":
|
||||
path = Resources.getStoragePath(self.ResourceTypes.MachineStack, file_name)
|
||||
elif stack_type == "extruder":
|
||||
path = Resources.getStoragePath(self.ResourceTypes.ExtruderStack, file_name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue