set menu index to first when entering install pages

This commit is contained in:
Huntereb 2019-11-30 15:16:51 -05:00
parent b237f35f67
commit d36a82b415
2 changed files with 6 additions and 4 deletions

View file

@ -121,9 +121,10 @@ namespace inst::ui {
this->pageInfoText->SetText("Select what files you want to install from the server, then press the Plus button!");
this->butText->SetText("\ue0e0 Select File \ue0e3 Select All \ue0ef Install File(s) \ue0e1 Cancel ");
this->drawMenuItems(true);
this->menu->SetSelectedIndex(0);
this->infoImage->SetVisible(false);
this->menu->SetVisible(true);
}
this->infoImage->SetVisible(false);
this->menu->SetVisible(true);
return;
}

View file

@ -80,9 +80,10 @@ namespace inst::ui {
this->pageInfoText->SetText("Select what files you want to install over USB, then press the Plus button!");
this->butText->SetText("\ue0e0 Select File \ue0e3 Select All \ue0ef Install File(s) \ue0e1 Cancel ");
this->drawMenuItems(true);
this->menu->SetSelectedIndex(0);
this->infoImage->SetVisible(false);
this->menu->SetVisible(true);
}
this->infoImage->SetVisible(false);
this->menu->SetVisible(true);
return;
}