Focus the contents of popup screens

This commit is contained in:
Henrik Rydgård 2014-03-03 12:55:29 +01:00
parent af35f06390
commit 3d906a1471

View File

@ -163,6 +163,7 @@ void PopupScreen::CreateViews() {
box_->Add(title);
CreatePopupContents(box_);
root_->SetDefaultFocusView(box_);
if (ShowButtons() && !button1_.empty()) {
// And the two buttons at the bottom.