mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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) {
|
if (which == Qt::LeftButton) {
|
||||||
callback(raw->clickModifiers());
|
callback(raw->clickModifiers());
|
||||||
return;
|
return;
|
||||||
|
} else if (which == Qt::MiddleButton) {
|
||||||
|
callback(Qt::ControlModifier);
|
||||||
|
return;
|
||||||
} else if (which != Qt::RightButton) {
|
} else if (which != Qt::RightButton) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue