WIP: ConfigWizard: 3rd party bundle installation roughly done

This commit is contained in:
Vojtech Kral 2019-06-17 16:39:22 +02:00
parent dba9925c4e
commit 235b659cf9
11 changed files with 493 additions and 215 deletions

View file

@ -1059,8 +1059,10 @@ void GUI_App::open_web_page_localized(const std::string &http_address)
bool GUI_App::run_wizard(ConfigWizard::RunReason reason, ConfigWizard::StartPage start_page)
{
wxCHECK_MSG(mainframe != nullptr, false, "Internal error: Main frame not created / null");
if (! m_wizard) {
m_wizard.reset(new ConfigWizard());
m_wizard = new ConfigWizard(mainframe);
}
const bool res = m_wizard->run(reason, start_page);