Skip to content

Commit

Permalink
Add keybind.
Browse files Browse the repository at this point in the history
  • Loading branch information
fukatani committed Apr 4, 2020
1 parent 923e8ad commit 2b4a46a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rujaion/editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,9 @@ def keyPressEvent(self, event: QtGui.QKeyEvent):
self.go_to_first_error()
return

if event.key() == QtCore.Qt.Key_E and event.modifiers() == QtCore.Qt.ControlModifier:
self.extract()

super().keyPressEvent(event)

if event.key() == Qt.Key_Home:
Expand Down

0 comments on commit 2b4a46a

Please sign in to comment.