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
1 changed files with 1 additions and 0 deletions

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();