Allow creating spaces

This commit is contained in:
Nicolas Werner 2022-09-05 02:00:20 +02:00
parent c6bf1e6508
commit 1d7575036e
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
7 changed files with 55 additions and 14 deletions

View file

@ -729,6 +729,15 @@ Page {
}
}
Platform.MenuItem {
text: qsTr("Create a new community")
onTriggered: {
var createRoom = createRoomComponent.createObject(timelineRoot, { "space": true });
createRoom.show();
timelineRoot.destroyOnClose(createRoom);
}
}
}
}