From 452b51304d9b1daaa9eaf75bef2f69b3185aeed5 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Mon, 25 Feb 2019 06:11:14 -0500 Subject: [PATCH] [welcome] Update next button when checking is complete --- src/modules/welcome/WelcomeViewStep.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/modules/welcome/WelcomeViewStep.cpp b/src/modules/welcome/WelcomeViewStep.cpp index 6a36dd0a1..bcded3161 100644 --- a/src/modules/welcome/WelcomeViewStep.cpp +++ b/src/modules/welcome/WelcomeViewStep.cpp @@ -21,8 +21,9 @@ #include "WelcomePage.h" #include "checker/GeneralRequirements.h" -#include "utils/Logger.h" +#include "modulesystem/ModuleManager.h" +#include "utils/Logger.h" #include @@ -32,6 +33,7 @@ WelcomeViewStep::WelcomeViewStep( QObject* parent ) : Calamares::ViewStep( parent ) , m_requirementsChecker( new GeneralRequirements( this ) ) { + connect( Calamares::ModuleManager::instance(), &Calamares::ModuleManager::requirementsComplete, this, &WelcomeViewStep::nextStatusChanged ); emit nextStatusChanged( true ); m_widget = new WelcomePage(); }