From 1bac84ca77c29bb0dc19cf218281e465ea85e5ca Mon Sep 17 00:00:00 2001 From: Salvatore Larosa Date: Mon, 29 Oct 2012 00:10:27 +0100 Subject: [PATCH] Reimplemented copy action for keybindings in console --- python/console_output.py | 3 +++ 1 file changed, 3 insertions(+) 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()