summary refs log tree commit diff
path: root/resources/qml/Root.qml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/qml/Root.qml')
-rw-r--r--resources/qml/Root.qml16
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 {