Skip to content

Commit

Permalink
Fix Search
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodrigo committed Nov 7, 2020
1 parent 2506a55 commit 1d17dc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion theme.qml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ FocusScope {
if (currentCollection.shortName === "all-lastplayed")
return api.allGames.get(allLastPlayed.mapToSource(currentGameIndex))
if (searchValue !== '')
return api.allGames.get(searchGames.mapToSource(currentGameIndex))
return currentCollection.games.get(searchGames.mapToSource(currentGameIndex))
return currentCollection.games.get(currentGameIndex)
}

Expand Down

0 comments on commit 1d17dc2

Please sign in to comment.