diff --git a/application/setupwizard/AnalyticsWizardPage.cpp b/application/setupwizard/AnalyticsWizardPage.cpp index 40fb0b88..ce0f5280 100644 --- a/application/setupwizard/AnalyticsWizardPage.cpp +++ b/application/setupwizard/AnalyticsWizardPage.cpp @@ -6,6 +6,7 @@ #include #include +#include AnalyticsWizardPage::AnalyticsWizardPage(QWidget *parent) : BaseWizardPage(parent) @@ -42,6 +43,10 @@ bool AnalyticsWizardPage::validatePage() bool AnalyticsWizardPage::isRequired() { + if(BuildConfig.ANALYTICS_ID.isEmpty()) + { + return false; + } auto settings = MMC->settings(); auto analytics = MMC->analytics(); if (!settings->get("Analytics").toBool())