Added ability to use back button in top bar with any mouse button.
This commit is contained in:
parent
6f3dbc4305
commit
e2450101c0
|
@ -124,7 +124,8 @@ TopBarWidget::TopBarWidget(
|
|||
_groupCall->setClickedCallback([=] { groupCall(); });
|
||||
_menuToggle->setClickedCallback([=] { showPeerMenu(); });
|
||||
_infoToggle->setClickedCallback([=] { toggleInfoSection(); });
|
||||
_back->setClickedCallback([=] {
|
||||
_back->setAcceptBoth();
|
||||
_back->addClickHandler([=](Qt::MouseButton) {
|
||||
InvokeQueued(_back.data(), [=] { backClicked(); });
|
||||
});
|
||||
_cancelChoose->setClickedCallback(
|
||||
|
|
Loading…
Reference in New Issue