summary refs log tree commit diff
path: root/resources/qml/Root.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-09-28 02:09:04 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-09-28 02:09:04 +0200
commit051c25d5b87c2351df46173f19b907cea436fa3b (patch)
tree7e68ff95c1a678cc614f908e67cef5fe0c6a624c /resources/qml/Root.qml
parentFix infinite loop that can be triggered by some invalid html (diff)
downloadnheko-051c25d5b87c2351df46173f19b907cea436fa3b.tar.xz
Allow editing permissions in spaces recursively
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 063284c1..dd1dfe1e 100644 --- a/resources/qml/Root.qml +++ b/resources/qml/Root.qml
@@ -79,6 +79,22 @@ Pane { } Component { + id: plApplyPrompt + + PowerLevelSpacesApplyDialog { + } + } + + function showSpacePLApplyPrompt(settings, editingModel) { + var dialog = plApplyPrompt.createObject(timelineRoot, { + "roomSettings": settings, + "editingModel": editingModel + }); + dialog.show(); + destroyOnClose(dialog); + } + + Component { id: plEditor PowerLevelEditor {