fix(ContactsColumnView): Open add/remove group member on context menu
This commit is contained in:
parent
6bd0dca983
commit
7f67c885c8
|
@ -26,6 +26,10 @@ Item {
|
|||
|
||||
signal searchButtonClicked()
|
||||
|
||||
function addRemoveGroupMember() {
|
||||
root.state = d.stateMembersSelectorContent
|
||||
}
|
||||
|
||||
QtObject {
|
||||
id: d
|
||||
|
||||
|
@ -231,7 +235,7 @@ Item {
|
|||
)
|
||||
}
|
||||
onAddRemoveGroupMember: {
|
||||
root.state = d.stateMembersSelectorContent
|
||||
root.addRemoveGroupMember()
|
||||
}
|
||||
onFetchMoreMessages: {
|
||||
messageStore.requestMoreMessages();
|
||||
|
|
|
@ -148,6 +148,9 @@ StatusSectionLayout {
|
|||
onCreateCommunityClicked: {
|
||||
root.createCommunityClicked();
|
||||
}
|
||||
onAddRemoveGroupMemberClicked: {
|
||||
headerContent.addRemoveGroupMember()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -38,6 +38,7 @@ Item {
|
|||
signal openAppSearch()
|
||||
signal importCommunityClicked()
|
||||
signal createCommunityClicked()
|
||||
signal addRemoveGroupMemberClicked()
|
||||
|
||||
// main layout
|
||||
ColumnLayout {
|
||||
|
@ -233,6 +234,9 @@ Item {
|
|||
groupImage
|
||||
)
|
||||
}
|
||||
onAddRemoveGroupMember: {
|
||||
root.addRemoveGroupMemberClicked()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue