Commit 92474479 authored by Matt Lowe's avatar Matt Lowe
Browse files

Added modifier key to quick PM

Ctrl + click on a user name to PM
parent dcc6c189
......@@ -326,7 +326,10 @@ void ChatView::mousePressEvent(QMouseEvent *event)
break;
}
case Qt::LeftButton :{
emit addMentionTag("@" + userName);
if (event->modifiers() == Qt::ControlModifier) {
emit openMessageDialog(userName, true);
} else
emit addMentionTag("@" + userName);
break;
}
default:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment