- fixed an error that created a situation that when saving a project with some of the CNCJob objects disabled, on project reload the CNCJob objects are no longer loaded

This commit is contained in:
Marius Stanciu
2019-03-22 17:56:11 +02:00
committed by Marius
parent 9a2279708e
commit df98007a4a
2 changed files with 9 additions and 2 deletions

View File

@@ -437,8 +437,11 @@ class TextGroup(object):
:param value: bool
"""
self._visible = value
self._collection.data[self._index]['visible'] = value
try:
self._collection.data[self._index]['visible'] = value
except KeyError:
print("VisPyVisuals.TextGroup.visible --> KeyError")
pass
self._collection.redraw()