diff --git a/src/Base/MessageView.cpp b/src/Base/MessageView.cpp index d3b31997a..6d75dc08f 100644 --- a/src/Base/MessageView.cpp +++ b/src/Base/MessageView.cpp @@ -191,14 +191,6 @@ int MessageViewStreamBuf::sync() void TextEditEx::keyPressEvent(QKeyEvent* event) { - if((event->modifiers().testFlag(Qt::ControlModifier))){ - switch(event->key()){ - case Qt::Key_C: - case Qt::Key_A: - TextEdit::keyPressEvent(event); - break; - } - } switch(event->key()){ case Qt::Key_Return: moveCursor(QTextCursor::End); @@ -327,7 +319,7 @@ void MessageView::Impl::createTextEdit() textEdit->setObjectName("TextEdit"); textEdit->setFrameShape(QFrame::NoFrame); - //textEdit->setReadOnly(true); + textEdit->setReadOnly(true); textEdit->setTextInteractionFlags( Qt::TextSelectableByMouse | Qt::TextSelectableByKeyboard); textEdit->setWordWrapMode(QTextOption::WrapAnywhere);