- added a debug message

This commit is contained in:
Marius Stanciu 2020-02-12 17:15:34 +02:00
parent b3ba2d32da
commit 8665d4c90d
1 changed files with 4 additions and 2 deletions

View File

@ -7162,8 +7162,10 @@ class App(QtCore.QObject):
try:
obj_active.annotation.clear(update=True)
obj_active.annotation.enabled = False
except AttributeError:
pass
except AttributeError as e:
log.debug(
"App.on_delete() --> delete annotations on a FlatCAMCNCJob object. %s" % str(e)
)
self.delete_first_selected()
self.inform.emit('%s...' % _("Object(s) deleted"))