diff --git a/src/qml/LibraryView.qml b/src/qml/LibraryView.qml index 2eb0b4b..f706177 100644 --- a/src/qml/LibraryView.qml +++ b/src/qml/LibraryView.qml @@ -89,6 +89,13 @@ FocusScope { if (g) libraryRoot.gameFocused(g) } + Component.onCompleted: { + Qt.callLater(function() { + let g = proxyModel.get(currentIndex) + if (g) libraryRoot.gameFocused(g) + }) + } + delegate: GameCard { game: model.gameObject gridActive: grid.flickable ? grid.flickable.activeFocus : grid.activeFocus