aboutsummaryrefslogtreecommitdiffstats
path: root/Lib/defconQt/glyphView.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/defconQt/glyphView.py')
-rw-r--r--Lib/defconQt/glyphView.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/defconQt/glyphView.py b/Lib/defconQt/glyphView.py
index 48e761d..50a5377 100644
--- a/Lib/defconQt/glyphView.py
+++ b/Lib/defconQt/glyphView.py
@@ -674,11 +674,14 @@ class GlyphScene(QGraphicsScene):
elif key == Qt.Key_Down:
x,y = 0,-count
elif key == Qt.Key_Delete:
+ self._blocked = True
for item in self.selectedItems():
if isinstance(item, OnCurvePointItem):
item.delete(not event.modifiers() & Qt.ShiftModifier)
elif isinstance(item, PixmapItem):
self.removeItem(item)
+ self._blocked = False
+ self._glyphObject.dirty = True
event.accept()
return
elif key == Qt.Key_J: