diff --git a/python/console_output.py b/python/console_output.py index cce16af494d8..e458e0193ea9 100644 --- a/python/console_output.py +++ b/python/console_output.py @@ -110,6 +110,9 @@ def __init__(self, parent=None): self.runShortcut = QShortcut(QKeySequence(Qt.CTRL + Qt.Key_E), self) self.runShortcut.activated.connect(self.enteredSelected) + # Reimplemeted copy action to prevent paste prompt (>>>,...) in command view + self.copyShortcut = QShortcut(QKeySequence(Qt.CTRL + Qt.Key_C), self) + self.copyShortcut.activated.connect(self.copy) def refreshLexerProperties(self): self.setLexers()