mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-03 16:05:57 +00:00
Don't close info settings with changes by click.
This commit is contained in:
@@ -377,6 +377,10 @@ void LayerStackWidget::mousePressEvent(QMouseEvent *e) {
|
||||
if (!layer->closeByOutsideClick()) {
|
||||
return;
|
||||
}
|
||||
} else if (const auto special = _specialLayer.data()) {
|
||||
if (!special->closeByOutsideClick()) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
hideCurrent(anim::type::normal);
|
||||
}
|
||||
|
Reference in New Issue
Block a user