Skip to content

Commit 1bac84c

Browse files
committedOct 28, 2012
Reimplemented copy action for keybindings in console
1 parent 0660dcf commit 1bac84c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎python/console_output.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ def __init__(self, parent=None):
110110

111111
self.runShortcut = QShortcut(QKeySequence(Qt.CTRL + Qt.Key_E), self)
112112
self.runShortcut.activated.connect(self.enteredSelected)
113+
# Reimplemeted copy action to prevent paste prompt (>>>,...) in command view
114+
self.copyShortcut = QShortcut(QKeySequence(Qt.CTRL + Qt.Key_C), self)
115+
self.copyShortcut.activated.connect(self.copy)
113116

114117
def refreshLexerProperties(self):
115118
self.setLexers()

0 commit comments

Comments
 (0)
Please sign in to comment.