From 200529e8c93aed813b211d394775fe0907d6d6dd Mon Sep 17 00:00:00 2001 From: Thomas Karl Pietrowski Date: Fri, 17 Jun 2016 11:43:23 +0200 Subject: Removing setReadOnly(False) The profile is writable by default. --- plugins/GCodeProfileReader/GCodeProfileReader.py | 1 - 1 file changed, 1 deletion(-) (limited to 'plugins/GCodeProfileReader') 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 -- cgit v1.2.3