- 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

@ -9,6 +9,10 @@ CAD program, and create G-Code for Isolation routing.
=================================================
22.03.2019
- 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
20.03.2019
- added autocomplete finish with ENTER key for the TCL Shell

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()