mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Removing setReadOnly(False)
The profile is writable by default.
This commit is contained in:
parent
65f2afeebd
commit
200529e8c9
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue