mirror of https://github.com/procxx/kepka.git
Don't accidentally close edit folder box.
This commit is contained in:
parent
b095091d03
commit
484ec06b0c
|
@ -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…
Reference in New Issue