summary refs log tree commit diff
path: root/resources/qml/dialogs/InviteDialog.qml
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-11-13 15:05:26 -0500
committerLoren Burkholder <computersemiexpert@outlook.com>2021-11-16 18:40:48 -0500
commitb1c1274d96144805bf416571117f9889f2e55600 (patch)
tree386eebaa22102e11f4015ee200f8dfebc49e5afc /resources/qml/dialogs/InviteDialog.qml
parentNicer padding (diff)
downloadnheko-b1c1274d96144805bf416571117f9889f2e55600.tar.xz
Allow removing users from the invite dialog
Diffstat (limited to 'resources/qml/dialogs/InviteDialog.qml')
-rw-r--r--resources/qml/dialogs/InviteDialog.qml17
1 files changed, 14 insertions, 3 deletions
diff --git a/resources/qml/dialogs/InviteDialog.qml b/resources/qml/dialogs/InviteDialog.qml

index 168819c4..6ee6fbf5 100644 --- a/resources/qml/dialogs/InviteDialog.qml +++ b/resources/qml/dialogs/InviteDialog.qml
@@ -116,6 +116,7 @@ ApplicationWindow { spacing: Nheko.paddingMedium anchors.verticalCenter: parent.verticalCenter x: parent.x + Nheko.paddingSmall + width: del.width - Nheko.paddingSmall * 2 Avatar { width: Nheko.avatarSize @@ -148,11 +149,21 @@ ApplicationWindow { } - CursorShape { - anchors.fill: parent - cursorShape: Qt.PointingHandCursor + Item { + Layout.fillWidth: true + Layout.fillHeight: true } + ImageButton { + image: ":/icons/icons/ui/remove-symbol.png" + onClicked: invitees.removeUser(model.mxid) + } + + } + + CursorShape { + anchors.fill: parent + cursorShape: Qt.PointingHandCursor } }