diff --git a/src/widgets/chatwidgetinput.cpp b/src/widgets/chatwidgetinput.cpp index acddf1af6..7c5d330b7 100644 --- a/src/widgets/chatwidgetinput.cpp +++ b/src/widgets/chatwidgetinput.cpp @@ -60,7 +60,10 @@ ChatWidgetInput::ChatWidgetInput(ChatWidget *_chatWidget) c->sendMessage(textInput.toPlainText()); event->accept(); - textInput.setText(QString()); + if(!(event->modifiers() == Qt::ControlModifier)) + { + textInput.setText(QString()); + } } });