2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 23:55:12 +00:00

Don't close info settings with changes by click.

This commit is contained in:
John Preston
2018-09-12 19:14:11 +03:00
parent 83fda73ce3
commit 673fea47bd
5 changed files with 16 additions and 0 deletions

View File

@@ -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);
}