Skip to content

Commit ae7115f

Browse files
committedMay 2, 2013
[pyqgis-console] re-added shortcut mistakenly removed in 07abb34
1 parent 25f78d2 commit ae7115f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎python/console/console_output.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@ def __init__(self, parent=None):
121121
self.setWrapMode(QsciScintilla.WrapCharacter)
122122
self.SendScintilla(QsciScintilla.SCI_SETHSCROLLBAR, 0)
123123

124+
self.runScut = QShortcut(QKeySequence(Qt.CTRL + Qt.Key_E), self)
125+
self.runScut.setContext(Qt.WidgetShortcut)
126+
self.runScut.activated.connect(self.enteredSelected)
124127
# Reimplemeted copy action to prevent paste prompt (>>>,...) in command view
125128
self.copyShortcut = QShortcut(QKeySequence.Copy, self)
126129
self.copyShortcut.activated.connect(self.copy)

0 commit comments

Comments
 (0)
Please sign in to comment.