diff --git a/ui/app/AppLayouts/Chat/popups/community/CommunityProfilePopup.qml b/ui/app/AppLayouts/Chat/popups/community/CommunityProfilePopup.qml index fb885f3699..4916560aae 100644 --- a/ui/app/AppLayouts/Chat/popups/community/CommunityProfilePopup.qml +++ b/ui/app/AppLayouts/Chat/popups/community/CommunityProfilePopup.qml @@ -65,7 +65,8 @@ StatusModal { } onEditButtonClicked: openPopup(editCommunityPopup, { store: root.store, - community: root.community + community: root.community, + onSave: root.close }) onTransferOwnershipButtonClicked: openPopup(transferOwnershiproot, { privateKey: root.store.exportCommunity(), diff --git a/ui/app/AppLayouts/Chat/popups/community/CreateCommunityPopup.qml b/ui/app/AppLayouts/Chat/popups/community/CreateCommunityPopup.qml index 604531ffdb..dbc496f74a 100644 --- a/ui/app/AppLayouts/Chat/popups/community/CreateCommunityPopup.qml +++ b/ui/app/AppLayouts/Chat/popups/community/CreateCommunityPopup.qml @@ -21,6 +21,7 @@ StatusModal { property var store property bool isEdit: false property QtObject community: popup.store.chatsModelInst.communities.activeCommunity + property var onSave: () => {} readonly property int maxCommunityNameLength: 30 readonly property int maxCommunityDescLength: 140 readonly property var communityColorValidator: Utils.Validate.NoEmpty @@ -438,7 +439,7 @@ StatusModal { creatingError.text = error.error return creatingError.open() } - + popup.onSave() popup.close() } }