mirror of
https://invent.kde.org/marcoa/a-la-karte.git
synced 2026-03-27 01:03:09 +00:00
fix: Hidden tab shows no games; BottomHintBar missing Layout.fillWidth
- showHidden was hardcoded false; GameSortFilterModel uses it as 'show ONLY hidden' so Hidden tab always returned empty - filterSource also passed 'hidden' as a platform string, filtering everything out; now returns empty string for hidden - Add Layout.fillWidth to BottomHintBar in ConsoleGameDetail so it lays out correctly in ColumnLayout
This commit is contained in:
parent
c4b9321c64
commit
f63edc3e55
2 changed files with 3 additions and 1 deletions
|
|
@ -355,6 +355,7 @@ Item {
|
|||
Item { Layout.preferredHeight: 16 }
|
||||
|
||||
BottomHintBar {
|
||||
Layout.fillWidth: true
|
||||
uiMode: Config.Couch
|
||||
context: "details"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -47,11 +47,12 @@ FocusScope {
|
|||
GameSortFilterModel {
|
||||
id: proxyModel
|
||||
sourceModel: App.gameModel
|
||||
showHidden: false
|
||||
showHidden: libraryRoot.filterSource === "hidden"
|
||||
favoritesOnly: libraryRoot.filterSource === "favorites"
|
||||
filterSource: {
|
||||
if (libraryRoot.filterSource === "all") return ""
|
||||
if (libraryRoot.filterSource === "favorites") return ""
|
||||
if (libraryRoot.filterSource === "hidden") return ""
|
||||
return libraryRoot.filterSource
|
||||
}
|
||||
filterText: libraryRoot.filterText
|
||||
|
|
|
|||
Loading…
Reference in a new issue