mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
auto hide recents tab when no recent games exist
This commit is contained in:
parent
808a4cf821
commit
0edfe5744a
1 changed files with 4 additions and 1 deletions
|
@ -511,11 +511,14 @@ void MainScreen::CreateViews() {
|
|||
m->T("How to get homebrew & demos"), "http://www.ppsspp.org/gethomebrew.html",
|
||||
new LinearLayoutParams(FILL_PARENT, FILL_PARENT));
|
||||
|
||||
|
||||
scrollRecentGames->Add(tabRecentGames);
|
||||
scrollAllGames->Add(tabAllGames);
|
||||
scrollHomebrew->Add(tabHomebrew);
|
||||
|
||||
leftColumn->AddTab(m->T("Recent"), scrollRecentGames);
|
||||
if (g_Config.recentIsos.size() > 0) {
|
||||
leftColumn->AddTab(m->T("Recent"), scrollRecentGames);
|
||||
}
|
||||
leftColumn->AddTab(m->T("Games"), scrollAllGames);
|
||||
leftColumn->AddTab(m->T("Homebrew & Demos"), scrollHomebrew);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue