mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-26 16:15:39 +00:00
Fixed an issue where a default primary component was not set in GamelistView.
This commit is contained in:
parent
db72d41ef0
commit
b96f6bc131
|
@ -245,6 +245,9 @@ void GamelistView::onThemeChanged(const std::shared_ptr<ThemeData>& theme)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mHelpStyle.applyTheme(mTheme, "gamelist");
|
||||||
|
}
|
||||||
|
|
||||||
if (mPrimary == nullptr) {
|
if (mPrimary == nullptr) {
|
||||||
mTextList = std::make_unique<TextListComponent<FileData*>>();
|
mTextList = std::make_unique<TextListComponent<FileData*>>();
|
||||||
mPrimary = mTextList.get();
|
mPrimary = mTextList.get();
|
||||||
|
@ -259,9 +262,7 @@ void GamelistView::onThemeChanged(const std::shared_ptr<ThemeData>& theme)
|
||||||
addChild(mPrimary);
|
addChild(mPrimary);
|
||||||
}
|
}
|
||||||
|
|
||||||
mHelpStyle.applyTheme(mTheme, "gamelist");
|
|
||||||
populateList(mRoot->getChildrenListToDisplay(), mRoot);
|
populateList(mRoot->getChildrenListToDisplay(), mRoot);
|
||||||
}
|
|
||||||
|
|
||||||
// Disable quick system select if the primary component uses the left and right buttons.
|
// Disable quick system select if the primary component uses the left and right buttons.
|
||||||
if (mCarousel != nullptr) {
|
if (mCarousel != nullptr) {
|
||||||
|
|
Loading…
Reference in a new issue