Move the ActionsHandler instance to the RoomPage
This is required since when using a RoomWindow, the ActionsHandler from the RoomManager is used, which means that the wrong room is used.
This commit is contained in:
@@ -36,7 +36,7 @@ Kirigami.OverlaySheet {
|
||||
|
||||
text: i18nc("@action:button", "Ok")
|
||||
onClicked: {
|
||||
roomManager.actionsHandler.createRoom(roomNameField.text, roomTopicField.text);
|
||||
Controller.createRoom(roomNameField.text, roomTopicField.text);
|
||||
root.close();
|
||||
root.destroy();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user