Browse Source

Removing setReadOnly(False)
The profile is writable by default.

Thomas Karl Pietrowski 8 years ago
parent
commit
200529e8c9
1 changed files with 0 additions and 1 deletions
  1. 0 1
      plugins/GCodeProfileReader/GCodeProfileReader.py

+ 0 - 1
plugins/GCodeProfileReader/GCodeProfileReader.py

@@ -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