Merge pull request #727 from poixen/pm_macro
Added modifier key to quick PM
This commit is contained in:
commit
12fe0f5380
1 changed files with 4 additions and 1 deletions
|
@ -326,6 +326,9 @@ void ChatView::mousePressEvent(QMouseEvent *event)
|
|||
break;
|
||||
}
|
||||
case Qt::LeftButton :{
|
||||
if (event->modifiers() == Qt::ControlModifier) {
|
||||
emit openMessageDialog(userName, true);
|
||||
} else
|
||||
emit addMentionTag("@" + userName);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue