mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-04 00:25:17 +00:00
Add Ui::PostponeCall() on return to event loop.
This commit is contained in:
@@ -375,7 +375,7 @@ void LayerStackWidget::keyPressEvent(QKeyEvent *e) {
|
||||
}
|
||||
|
||||
void LayerStackWidget::mousePressEvent(QMouseEvent *e) {
|
||||
crl::on_main(this, [=] { backgroundClicked(); });
|
||||
Ui::PostponeCall(this, [=] { backgroundClicked(); });
|
||||
}
|
||||
|
||||
void LayerStackWidget::backgroundClicked() {
|
||||
|
Reference in New Issue
Block a user