Fix setting info on multi choice

This commit is contained in:
iota97 2021-09-12 01:17:24 +02:00
parent f1c05b0395
commit a2f016b2d1
4 changed files with 21 additions and 0 deletions

View file

@ -218,6 +218,11 @@ void GameSettingsScreen::CreateViews() {
settingInfo_->SetBottomCutoff(dp_yres - 200.0f);
root_->Add(settingInfo_);
// Show it again if we recreated the view
if (oldSettingInfo_ != "") {
settingInfo_->Show(oldSettingInfo_, nullptr);
}
// TODO: These currently point to global settings, not game specific ones.
// Graphics
@ -1273,6 +1278,11 @@ void GameSettingsScreen::dialogFinished(const Screen *dialog, DialogResult resul
}
}
void GameSettingsScreen::RecreateViews() {
oldSettingInfo_ = settingInfo_->GetText();
UIScreen::RecreateViews();
}
void GameSettingsScreen::CallbackMemstickFolder(bool yes) {
auto sy = GetI18NCategory("System");