2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Don't accidentally close edit folder box.

This commit is contained in:
John Preston
2020-03-29 12:52:20 +04:00
parent b095091d03
commit 484ec06b0c

View File

@@ -312,6 +312,7 @@ void EditExceptions(
include ? rules.always() : rules.never());
const auto rawController = controller.get();
auto initBox = [=](not_null<PeerListBox*> box) {
box->setCloseByOutsideClick(false);
box->addButton(tr::lng_settings_save(), crl::guard(context, [=] {
const auto peers = box->peerListCollectSelectedRows();
const auto rules = data->current();