diff --git a/src/gui/MainPane/RoomList.qml b/src/gui/MainPane/RoomList.qml index b78f7492..4bd693af 100644 --- a/src/gui/MainPane/RoomList.qml +++ b/src/gui/MainPane/RoomList.qml @@ -48,12 +48,7 @@ HListView { } function goToAccountNumber(num) { - const index = Object.entries(accountIndice)[num][1] - - model.get(index + 1).type === "Room" ? - currentIndex = index + 1 : - currentIndex = index - + currentIndex = Object.entries(accountIndice)[num][1] showItemLimiter.restart() }