Fixes replot problem after delete with key.
This commit is contained in:
parent
4c234fcd55
commit
2a21c426e3
|
@ -1156,6 +1156,7 @@ class App(QtCore.QObject):
|
|||
:return: None
|
||||
"""
|
||||
|
||||
self.log.debug("on_delete()")
|
||||
self.report_usage("on_delete")
|
||||
|
||||
# Keep this for later
|
||||
|
|
|
@ -61,7 +61,9 @@ class ObjectCollection(QtCore.QAbstractListModel):
|
|||
|
||||
# Delete
|
||||
if key == QtCore.Qt.Key_Delete:
|
||||
self.delete_active()
|
||||
# Delete via the application to
|
||||
# ensure cleanup of the GUI
|
||||
self.get_active().app.on_delete()
|
||||
|
||||
def on_mouse_down(self, event):
|
||||
FlatCAMApp.App.log.debug("Mouse button pressed on list")
|
||||
|
|
Loading…
Reference in New Issue