Fix blocked users window not closing on profile open
This commit is contained in:
parent
fbcc54f13a
commit
1488e02ac5
1 changed files with 3 additions and 3 deletions
|
|
@ -891,7 +891,7 @@ void ManageFiller::addPeerPermissions(
|
||||||
_wrap,
|
_wrap,
|
||||||
tr::lng_manage_peer_permissions(),
|
tr::lng_manage_peer_permissions(),
|
||||||
rpl::single(true),
|
rpl::single(true),
|
||||||
[=] { ShowEditPermissions(controller, peer); }
|
[=] { ShowEditPermissions(controller->parentController(), peer); }
|
||||||
);
|
);
|
||||||
object_ptr<FloatingIcon>(
|
object_ptr<FloatingIcon>(
|
||||||
button,
|
button,
|
||||||
|
|
@ -916,7 +916,7 @@ void ManageFiller::addPeerAdmins(
|
||||||
tr::lng_manage_peer_administrators(),
|
tr::lng_manage_peer_administrators(),
|
||||||
rpl::single(true),
|
rpl::single(true),
|
||||||
[=] { ParticipantsBoxController::Start(
|
[=] { ParticipantsBoxController::Start(
|
||||||
controller,
|
controller->parentController(),
|
||||||
peer,
|
peer,
|
||||||
ParticipantsBoxController::Role::Admins);}
|
ParticipantsBoxController::Role::Admins);}
|
||||||
);
|
);
|
||||||
|
|
@ -936,7 +936,7 @@ void ManageFiller::addChannelBlockedUsers(
|
||||||
tr::lng_manage_peer_removed_users(),
|
tr::lng_manage_peer_removed_users(),
|
||||||
rpl::single(true),
|
rpl::single(true),
|
||||||
[=] { ParticipantsBoxController::Start(
|
[=] { ParticipantsBoxController::Start(
|
||||||
controller,
|
controller->parentController(),
|
||||||
channel,
|
channel,
|
||||||
ParticipantsBoxController::Role::Kicked);}
|
ParticipantsBoxController::Role::Kicked);}
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue