From fe403ddc709801262d0848b991691ae6c1d7123d Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Mon, 19 Sep 2022 21:39:37 +0200 Subject: Rework how access rules for rooms are modified completely --- resources/qml/Root.qml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'resources/qml/Root.qml') 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 @@ -94,6 +94,22 @@ Pane { } + Component { + id: allowedRoomSettingsComponent + + AllowedRoomsSettingsDialog { + } + + } + + function showAllowedRoomsEditor(settings) { + var dialog = allowedRoomSettingsComponent.createObject(timelineRoot, { + "roomSettings": settings + }); + dialog.show(); + destroyOnClose(dialog); + } + Component { id: roomMembersComponent -- cgit 1.5.1