diff options
-rw-r--r-- | src/plugins/studiowelcome/studiowelcomeplugin.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/studiowelcome/studiowelcomeplugin.cpp b/src/plugins/studiowelcome/studiowelcomeplugin.cpp index 8c93382973..0637f04ef7 100644 --- a/src/plugins/studiowelcome/studiowelcomeplugin.cpp +++ b/src/plugins/studiowelcome/studiowelcomeplugin.cpp @@ -671,6 +671,11 @@ WelcomeMode::WelcomeMode() m_modeWidget->engine()->setOutputWarningsToStandardError(false); + connect(Core::ModeManager::instance(), &Core::ModeManager::currentModeChanged, this, [this](Utils::Id mode){ + bool active = (mode == Core::Constants::MODE_WELCOME); + m_modeWidget->rootObject()->setProperty("active", active); + }); + if (!useNewWelcomePage()) { #ifdef QT_DEBUG |