mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 10:29:01 +08:00
Removing setReadOnly(False)
The profile is writable by default.
This commit is contained in:
parent
65f2afeebd
commit
200529e8c9
@ -76,7 +76,6 @@ class GCodeProfileReader(ProfileReader):
|
||||
profile.addMetaDataEntry("type", "quality")
|
||||
try:
|
||||
profile.deserialize(serialized)
|
||||
profile.setReadOnly(False)
|
||||
except Exception as e: # Not a valid g-code file.
|
||||
Logger.log("e", "Unable to serialise the profile: %s", str(e))
|
||||
return None
|
||||
|
Loading…
x
Reference in New Issue
Block a user