Get rid of "How to get games" when you have games.

This commit is contained in:
Unknown W. Brackets 2013-08-16 21:47:50 -07:00
parent cf92decff4
commit 39d4359294

View File

@ -382,7 +382,7 @@ void GameBrowser::Refresh() {
b->OnHoldClick.Handle(this, &GameBrowser::GameButtonHoldClick);
}
if (!lastText_.empty()) {
if (!lastText_.empty() && gameButtons.empty()) {
Add(new Spacer());
Add(new Choice(lastText_, new UI::LinearLayoutParams(UI::WRAP_CONTENT, UI::WRAP_CONTENT)))->OnClick.Handle(this, &GameBrowser::LastClick);
}