mirror of
https://github.com/Team-Neptune/NSAInstaller.git
synced 2024-11-23 12:49:52 +00:00
Fix selecting one nsp acting wonky
This commit is contained in:
parent
1374370c78
commit
5cd7d2b8b0
@ -127,9 +127,8 @@ namespace inst::ui {
|
||||
}
|
||||
if ((Down & KEY_A) || (Up & KEY_TOUCH)) {
|
||||
netInstPage::selectNsp(this->menu->GetSelectedIndex());
|
||||
if (this->menu->GetItems().size() == 1) {
|
||||
if (this->menu->GetItems().size() == 1 && netInstPage::selectedUrls.size() == 1) {
|
||||
netInstPage::startInstall(false);
|
||||
netInstPage::selectNsp(this->menu->GetSelectedIndex());
|
||||
}
|
||||
}
|
||||
if ((Down & KEY_Y)) {
|
||||
|
@ -79,9 +79,8 @@ namespace inst::ui {
|
||||
}
|
||||
if ((Down & KEY_A) || (Up & KEY_TOUCH)) {
|
||||
nspInstPage::selectNsp(this->menu->GetSelectedIndex());
|
||||
if (this->menu->GetItems().size() == 1) {
|
||||
if (this->menu->GetItems().size() == 1 && nspInstPage::selectedNsps.size() == 1) {
|
||||
nspInstPage::startInstall();
|
||||
nspInstPage::selectNsp(this->menu->GetSelectedIndex());
|
||||
}
|
||||
}
|
||||
if ((Down & KEY_Y)) {
|
||||
|
Loading…
Reference in New Issue
Block a user