Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Karl Pietrowski <thopiekar@googlemail.com>2016-06-17 12:43:23 +0300
committerThomas Karl Pietrowski <thopiekar@googlemail.com>2016-06-17 12:43:23 +0300
commit200529e8c93aed813b211d394775fe0907d6d6dd (patch)
treeb523fb0b90525ca3d367c4aeab97a1740d124f72 /plugins/GCodeProfileReader
parent65f2afeebdd06248715fbb9bf155934bcd3bb102 (diff)
Removing setReadOnly(False)
The profile is writable by default.
Diffstat (limited to 'plugins/GCodeProfileReader')
-rw-r--r--plugins/GCodeProfileReader/GCodeProfileReader.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/GCodeProfileReader/GCodeProfileReader.py b/plugins/GCodeProfileReader/GCodeProfileReader.py
index a9d59e9d96..3cff7167b5 100644
--- a/plugins/GCodeProfileReader/GCodeProfileReader.py
+++ b/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