mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 15:43:55 +02:00
Don't accidentally close edit folder box.
This commit is contained in:
parent
b095091d03
commit
484ec06b0c
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue