mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Added ability to open account in new window with middle click.
This commit is contained in:
parent
ded7aada52
commit
9e18236b55
1 changed files with 3 additions and 0 deletions
|
@ -650,6 +650,9 @@ void SetupAccountsWrap(
|
|||
if (which == Qt::LeftButton) {
|
||||
callback(raw->clickModifiers());
|
||||
return;
|
||||
} else if (which == Qt::MiddleButton) {
|
||||
callback(Qt::ControlModifier);
|
||||
return;
|
||||
} else if (which != Qt::RightButton) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue