From 9a811e96d16b0cb06087aaca7f46ffdd06d3db3e Mon Sep 17 00:00:00 2001
From: Daniel Teske <daniel.teske@theqtcompany.com>
Date: Thu, 30 Apr 2015 16:48:00 +0200
Subject: [PATCH] Fix "Add new being disabled"
A connection was missing, so the actions weren't updated on
closing the new dialog.
Change-Id: I3ee8c4ed3d7fc4a81dcdd067897f42ac70118b77
Task-number: QTCREATORBUG-14377
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
---
src/plugins/projectexplorer/projectexplorer.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp
index 8d3853d8a02..f4512647b61 100644
--- a/src/plugins/projectexplorer/projectexplorer.cpp
+++ b/src/plugins/projectexplorer/projectexplorer.cpp
@@ -1240,6 +1240,8 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
connect(ICore::instance(), &ICore::coreOpened,
dd, &ProjectExplorerPluginPrivate::restoreSession);
connect(ICore::instance(), &ICore::newItemDialogRunningChanged, updateActions);
+ connect(ICore::instance(), &ICore::newItemDialogRunningChanged,
+ dd, &ProjectExplorerPluginPrivate::updateContextMenuActions);
dd->updateWelcomePage();
--
GitLab