Просмотр исходного кода

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

Thomas Karl Pietrowski 8 лет назад
Родитель
Сommit
200529e8c9
1 измененных файлов с 0 добавлено и 1 удалено
  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