Allow right-clicking on a room without selecting it

Same idea as the fix I did for spaces, we introduce a new signal called
selected instead of using ItemDelegate's button signals.
This commit is contained in:
Joshua Goins
2023-11-05 15:07:19 -05:00
committed by Tobias Fella
parent 006da1fb16
commit e9e1e223f7
4 changed files with 13 additions and 5 deletions

View File

@@ -278,7 +278,7 @@ Kirigami.Page {
visible: categoryVisible || filterText.length > 0 || Config.mergeRoomList
onClicked: RoomManager.enterRoom(currentRoom)
onSelected: RoomManager.enterRoom(currentRoom)
Keys.onEnterPressed: RoomManager.enterRoom(currentRoom)
Keys.onReturnPressed: RoomManager.enterRoom(currentRoom)