Skip to content

Commit

Permalink
[pyqgis-console] re-added shortcut mistakenly removed in 07abb34
Browse files Browse the repository at this point in the history
  • Loading branch information
slarosa committed May 2, 2013
1 parent 25f78d2 commit ae7115f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/console/console_output.py
Expand Up @@ -121,6 +121,9 @@ def __init__(self, parent=None):
self.setWrapMode(QsciScintilla.WrapCharacter)
self.SendScintilla(QsciScintilla.SCI_SETHSCROLLBAR, 0)

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

0 comments on commit ae7115f

Please sign in to comment.