- fixed the FlatCMAScript object when loading it from a project

This commit is contained in:
Marius Stanciu
2019-10-02 22:59:50 +03:00
committed by Marius
parent b9b0c8fee8
commit 5143cafc59
3 changed files with 20 additions and 4 deletions

View File

@@ -3980,6 +3980,7 @@ class App(QtCore.QObject):
# object that is created, it will strip the name of the object and the underline (if the original key was
# let's say "excellon_toolchange", it will strip the excellon_) and to the obj.options the key will become
# "toolchange"
for option in self.options:
if option.find(kind + "_") == 0:
oname = option[len(kind) + 1:]