diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-09-19 21:39:37 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-09-19 21:39:37 +0200 |
commit | fe403ddc709801262d0848b991691ae6c1d7123d (patch) | |
tree | 44aa5518f6d8a9ce9e5048848c4cabca47df6614 /resources/qml/Root.qml | |
parent | Fix copypasto in cmake bundle option descriptions. (diff) | |
download | nheko-fe403ddc709801262d0848b991691ae6c1d7123d.tar.xz |
Rework how access rules for rooms are modified completely
Diffstat (limited to 'resources/qml/Root.qml')
-rw-r--r-- | resources/qml/Root.qml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/resources/qml/Root.qml b/resources/qml/Root.qml index fc321136..063284c1 100644 --- a/resources/qml/Root.qml +++ b/resources/qml/Root.qml @@ -95,6 +95,22 @@ Pane { } Component { + id: allowedRoomSettingsComponent + + AllowedRoomsSettingsDialog { + } + + } + + function showAllowedRoomsEditor(settings) { + var dialog = allowedRoomSettingsComponent.createObject(timelineRoot, { + "roomSettings": settings + }); + dialog.show(); + destroyOnClose(dialog); + } + + Component { id: roomMembersComponent RoomMembers { |