Show the homebrew & demos tab after having installed a zip file.

This commit is contained in:
Henrik Rydgård committed 2013-12-06 12:29:27 +01:00
1 parent ffc6fc0b80
commit cc22a70667
3 files changed
+9 -1

No files matched your search

+2
View File
@@ -25,6 +25,7 @@
#include "Core/Util/GameManager.h"
#include "UI/InstallZipScreen.h"
#include "UI/MainScreen.h"
void InstallZipScreen::CreateViews() {
using namespace UI;
@@ -68,6 +69,7 @@ UI::EventReturn InstallZipScreen::OnInstall(UI::EventParams &params) {
if (g_GameManager.InstallGameOnThread(zipPath_, deleteZipFile_)) {
installStarted_ = true;
installChoice_->SetEnabled(false);
MainScreen::showHomebrewTab = true;
}
return UI::EVENT_DONE;
}