Skip to content
Permalink
Browse files

[pyqgis-console] re-added shortcut mistakenly removed in 07abb34

  • Loading branch information
slarosa committed May 2, 2013
1 parent 25f78d2 commit ae7115f74f0bcb039dda2344c936cda6b0b8985a
Showing with 3 additions and 0 deletions.
  1. +3 −0 python/console/console_output.py
@@ -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)

0 comments on commit ae7115f

Please sign in to comment.
You can’t perform that action at this time.