mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 23:53:58 +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());
|
include ? rules.always() : rules.never());
|
||||||
const auto rawController = controller.get();
|
const auto rawController = controller.get();
|
||||||
auto initBox = [=](not_null<PeerListBox*> box) {
|
auto initBox = [=](not_null<PeerListBox*> box) {
|
||||||
|
box->setCloseByOutsideClick(false);
|
||||||
box->addButton(tr::lng_settings_save(), crl::guard(context, [=] {
|
box->addButton(tr::lng_settings_save(), crl::guard(context, [=] {
|
||||||
const auto peers = box->peerListCollectSelectedRows();
|
const auto peers = box->peerListCollectSelectedRows();
|
||||||
const auto rules = data->current();
|
const auto rules = data->current();
|
||||||
|
|
Loading…
Add table
Reference in a new issue