diff --git a/python/console/console_output.py b/python/console/console_output.py index be9d9c2ac72..bf4339172d7 100644 --- a/python/console/console_output.py +++ b/python/console/console_output.py @@ -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)