mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 05:15:52 +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")
|
profile.addMetaDataEntry("type", "quality")
|
||||||
try:
|
try:
|
||||||
profile.deserialize(serialized)
|
profile.deserialize(serialized)
|
||||||
profile.setReadOnly(False)
|
|
||||||
except Exception as e: # Not a valid g-code file.
|
except Exception as e: # Not a valid g-code file.
|
||||||
Logger.log("e", "Unable to serialise the profile: %s", str(e))
|
Logger.log("e", "Unable to serialise the profile: %s", str(e))
|
||||||
return None
|
return None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user