mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
@@ -307,6 +307,9 @@ void ConfirmBox::mouseReleaseEvent(QMouseEvent *e) {
|
|||||||
const auto guard = window();
|
const auto guard = window();
|
||||||
Ui::hideLayer();
|
Ui::hideLayer();
|
||||||
ActivateClickHandler(guard, activated, e->button());
|
ActivateClickHandler(guard, activated, e->button());
|
||||||
|
|
||||||
|
// Keep the link alive, otherwise it is not activated.
|
||||||
|
crl::on_main([activated] {});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
BoxContent::mouseReleaseEvent(e);
|
BoxContent::mouseReleaseEvent(e);
|
||||||
|
|||||||
Reference in New Issue
Block a user