forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -1240,6 +1240,8 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
|
|||||||
connect(ICore::instance(), &ICore::coreOpened,
|
connect(ICore::instance(), &ICore::coreOpened,
|
||||||
dd, &ProjectExplorerPluginPrivate::restoreSession);
|
dd, &ProjectExplorerPluginPrivate::restoreSession);
|
||||||
connect(ICore::instance(), &ICore::newItemDialogRunningChanged, updateActions);
|
connect(ICore::instance(), &ICore::newItemDialogRunningChanged, updateActions);
|
||||||
|
connect(ICore::instance(), &ICore::newItemDialogRunningChanged,
|
||||||
|
dd, &ProjectExplorerPluginPrivate::updateContextMenuActions);
|
||||||
|
|
||||||
dd->updateWelcomePage();
|
dd->updateWelcomePage();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user