Skip to content

Commit

Permalink
Reimplemented copy action for keybindings in console
Browse files Browse the repository at this point in the history
  • Loading branch information
slarosa committed Oct 28, 2012
1 parent 0660dcf commit 1bac84c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/console_output.py
Expand Up @@ -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()
Expand Down

0 comments on commit 1bac84c

Please sign in to comment.