-rw-r--r-- | core/apps/embeddedkonsole/TEWidget.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/apps/embeddedkonsole/TEWidget.cpp b/core/apps/embeddedkonsole/TEWidget.cpp index 23720cd..a989e10 100644 --- a/core/apps/embeddedkonsole/TEWidget.cpp +++ b/core/apps/embeddedkonsole/TEWidget.cpp @@ -932,5 +932,6 @@ void TEWidget::emitSelection() #ifndef QT_NO_CLIPBOARD QString text = QApplication::clipboard()->text(); - if ( ! text.isNull() ) +// qDebug(text); + if ( ! text.isNull()) { text.replace(QRegExp("\n"), "\r"); @@ -1068,4 +1069,7 @@ bool TEWidget::eventFilter( QObject *obj, QEvent *e ) pasteClipboard(); } + else if( ke->state() == ControlButton && ke->key() == Key_C) { +// pasteClipboard(); + } else emit keyPressedSignal(ke); // expose |