From 484ec06b0cefaf74d2ff4e82ae3b88bbdf3c7dd1 Mon Sep 17 00:00:00 2001 From: John Preston <johnprestonmail@gmail.com> Date: Sun, 29 Mar 2020 12:52:20 +0400 Subject: [PATCH] Don't accidentally close edit folder box. --- Telegram/SourceFiles/boxes/filters/edit_filter_box.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Telegram/SourceFiles/boxes/filters/edit_filter_box.cpp b/Telegram/SourceFiles/boxes/filters/edit_filter_box.cpp index f18f53c34..e58893c69 100644 --- a/Telegram/SourceFiles/boxes/filters/edit_filter_box.cpp +++ b/Telegram/SourceFiles/boxes/filters/edit_filter_box.cpp @@ -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();