gui/start_wizard.cpp: disable astra initial settings in case of fast-scan setup

This commit is contained in:
[CST] Focus
2013-08-06 10:08:55 +04:00
parent 3e207638ef
commit d54a49b243

View File

@@ -127,7 +127,7 @@ int CStartUpWizard::exec(CMenuTarget* parent, const string & /*actionKey*/)
if (CFEManager::getInstance()->haveSat())
init_settings = file_exists(CONFIGDIR "/initial/");
if(init_settings && (res != menu_return::RETURN_EXIT_ALL))
if(advanced && init_settings && (res != menu_return::RETURN_EXIT_ALL))
{
if (ShowMsgUTF(LOCALE_WIZARD_INITIAL_SETTINGS, g_Locale->getText(LOCALE_WIZARD_INSTALL_SETTINGS),
CMessageBox::mbrYes, CMessageBox::mbYes | CMessageBox::mbNo, NULL, 450, 30, false) == CMessageBox::mbrYes) {