summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Teske <daniel.teske@theqtcompany.com>2015-04-30 16:48:00 +0200
committerDaniel Teske <daniel.teske@theqtcompany.com>2015-05-04 08:28:16 +0000
commit9a811e96d16b0cb06087aaca7f46ffdd06d3db3e (patch)
tree48838fa5064209a5ff854570c88f1e7258da1576 /src
parentaeb0b54c26e3d0167338a7a3eaa9670ea36b925d (diff)
downloadqt-creator-9a811e96d16b0cb06087aaca7f46ffdd06d3db3e.tar.gz
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>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/projectexplorer/projectexplorer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp
index 8d3853d8a0..f4512647b6 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();