Mercurial > hg > octave-lyh
changeset 13488:fc754f56453e
Copy-Paste works with Ctrl+C and Ctrl+V, but pasting is not perfect.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Wed, 27 Apr 2011 17:48:53 +0200 |
parents | 0c896eff7a80 |
children | cb80550ebaed |
files | gui//src/TerminalDisplay.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/gui//src/TerminalDisplay.cpp +++ b/gui//src/TerminalDisplay.cpp @@ -2467,14 +2467,14 @@ { bool emitKeyPressSignal = true; - if(event->modifiers() == Qt::ControlModifier | Qt::ControlModifier) + if(event->modifiers() == Qt::ControlModifier) { switch(event->key()) { case Qt::Key_C: copyClipboard(); break; case Qt::Key_V: - //pasteClipboard(); + pasteClipboard(); break; }; } else if ( event->modifiers() == Qt::ShiftModifier ) {