Merge pull request #495 from raelgc/fix-kids-unattended-mode

Fixing kids/unattended mode
This commit is contained in:
Jools Wills 2019-01-08 19:33:41 +00:00 committed by GitHub
commit 6ffda17c4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View file

@ -154,7 +154,7 @@ std::vector<HelpPrompt> BasicGameListView::getHelpPrompts()
prompts.push_back(HelpPrompt("select", "options")); prompts.push_back(HelpPrompt("select", "options"));
if(mRoot->getSystem()->isGameSystem()) if(mRoot->getSystem()->isGameSystem())
prompts.push_back(HelpPrompt("x", "random")); prompts.push_back(HelpPrompt("x", "random"));
if(mRoot->getSystem()->isGameSystem() && UIModeController::getInstance()->isUIModeFull()) if(mRoot->getSystem()->isGameSystem() && !UIModeController::getInstance()->isUIModeKid())
{ {
std::string prompt = CollectionSystemManager::get()->getEditingCollection(); std::string prompt = CollectionSystemManager::get()->getEditingCollection();
prompts.push_back(HelpPrompt("y", prompt)); prompts.push_back(HelpPrompt("y", prompt));

View file

@ -18,7 +18,6 @@ std::vector<const char*> settings_dont_save {
{ "DebugImage" }, { "DebugImage" },
{ "ForceKid" }, { "ForceKid" },
{ "ForceKiosk" }, { "ForceKiosk" },
{ "ForceDisableFilters" },
{ "IgnoreGamelist" }, { "IgnoreGamelist" },
{ "HideConsole" }, { "HideConsole" },
{ "ShowExit" }, { "ShowExit" },