mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
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,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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue