mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
[pyqgis-console] re-added shortcut mistakenly removed in 07abb34
This commit is contained in:
parent
25f78d22a0
commit
ae7115f74f
@ -121,6 +121,9 @@ class ShellOutputScintilla(QsciScintilla):
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user