1 files changed, 9 insertions, 2 deletions
diff --git a/resources/qml/dialogs/PowerLevelEditor.qml b/resources/qml/dialogs/PowerLevelEditor.qml
index bfb337ff..4c23d9af 100644
--- a/resources/qml/dialogs/PowerLevelEditor.qml
+++ b/resources/qml/dialogs/PowerLevelEditor.qml
@@ -397,8 +397,15 @@ ApplicationWindow {
standardButtons: DialogButtonBox.Ok | DialogButtonBox.Cancel
onAccepted: {
- editingModel.commit();
- plEditorW.close();
+ if (editingModel.isSpace) {
+ // TODO(Nico): Replace with showing a list of spaces to apply to
+ editingModel.updateSpacesModel();
+ plEditorW.close();
+ timelineRoot.showSpacePLApplyPrompt(roomSettings, editingModel)
+ } else {
+ editingModel.commit();
+ plEditorW.close();
+ }
}
onRejected: plEditorW.close();
}
|