diff --git a/ui/app/AppLayouts/Chat/CommunityComponents/CommunityProfilePopup.qml b/ui/app/AppLayouts/Chat/CommunityComponents/CommunityProfilePopup.qml index 8429e06d89..86ebaaec07 100644 --- a/ui/app/AppLayouts/Chat/CommunityComponents/CommunityProfilePopup.qml +++ b/ui/app/AppLayouts/Chat/CommunityComponents/CommunityProfilePopup.qml @@ -65,7 +65,10 @@ StatusModal { community: popup.community }) onTransferOwnershipButtonClicked: openPopup(transferOwnershipPopup, {privateKey: chatsModel.communities.exportCommunity()}) - onLeaveButtonClicked: chatsModel.communities.leaveCommunity(popup.community.id) + onLeaveButtonClicked: { + chatsModel.communities.leaveCommunity(popup.community.id) + popup.close() + } } }