Fix the switch room direction

Down should be next and Up should be Previous
This commit is contained in:
Weng Xuetian
2022-06-17 10:59:50 -07:00
committed by Tobias Fella
parent 90cee0f437
commit 49c9c63bf5

View File

@@ -313,10 +313,10 @@ Kirigami.ApplicationWindow {
Connections { Connections {
target: root.roomPage target: root.roomPage
function onSwitchRoomUp() { function onSwitchRoomUp() {
roomList.goToNextRoom(); roomList.goToPreviousRoom();
} }
function onSwitchRoomDown() { function onSwitchRoomDown() {
roomList.goToPreviousRoom(); roomList.goToNextRoom();
} }
} }
} }