Skip to content

Commit 723e733

Browse files
authored
Merge pull request #1074 from EmJay276/bugfix_keyPressEvent
Add missing call of keyPressEvent in the super class
2 parents fc0491c + d5e12eb commit 723e733

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Display/qtDisplay.py

+1
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ def createCursors(self):
138138
self._current_cursor = "arrow"
139139

140140
def keyPressEvent(self, event):
141+
super(qtViewer3d, self).keyPressEvent(event)
141142
code = event.key()
142143
if code in self._key_map:
143144
self._key_map[code]()

0 commit comments

Comments
 (0)