aboutsummaryrefslogtreecommitdiffstats
path: root/Lib/defconQt
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/defconQt')
-rw-r--r--Lib/defconQt/spaceCenter.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/defconQt/spaceCenter.py b/Lib/defconQt/spaceCenter.py
index 8194a7b..7323f66 100644
--- a/Lib/defconQt/spaceCenter.py
+++ b/Lib/defconQt/spaceCenter.py
@@ -409,6 +409,10 @@ class GlyphsCanvas(QWidget):
line = int(line)
if line >= len(self._positions):
self._selected = None
+ # XXX: find a way to DRY notification of self._selected changed
+ # w ability to block notifications as well
+ if self._selectionChangedCallback is not None:
+ self._selectionChangedCallback(self._selected)
event.accept()
self.update()
return