Merge pull request #694 from lodle/bugfix691

Fixed preload page getting stuck in zombie state on error #691
master
Mark Chandler 2013-10-29 16:22:12 -07:00
commit 99e3ddc733
2 changed files with 7 additions and 0 deletions

View File

@ -58,6 +58,11 @@ PreloadPage::PreloadPage(wxWindow* parent, const char* action, const char* id) :
this->setParentSize(-1, 120);
}
void PreloadPage::onError(gcException &e)
{
this->GetParent()->Close();
}
}
}
}

View File

@ -37,6 +37,8 @@ class PreloadPage : public BaseInstallPage
public:
PreloadPage(wxWindow* parent, const char* action, const char* id);
virtual void init(){};
void onError(gcException &e) override;
};
}