diff options
Diffstat (limited to 'src/mumble/CustomElements.cpp')
-rw-r--r-- | src/mumble/CustomElements.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mumble/CustomElements.cpp b/src/mumble/CustomElements.cpp index 085da4c82..43b1d033d 100644 --- a/src/mumble/CustomElements.cpp +++ b/src/mumble/CustomElements.cpp @@ -237,7 +237,11 @@ bool ChatbarTextEdit::event(QEvent *evt) { const QString msg = toPlainText(); if (!msg.isEmpty()) { addToHistory(msg); - emit entered(msg); + if (kev->modifiers() & Qt::ControlModifier) { + emit ctrlEnterPressed(msg); + } else { + emit entered(msg); + } } return true; } |