forked from qt-creator/qt-creator
Fix that run configurations lost their executable
Prevent QmlDesignerProjectManager messing with projects in Qt Creator. Change-Id: Ife5a9a8c3a80a9aa1b6e1c5526fb1705996b1b3e Reviewed-by: hjk <hjk@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -514,7 +514,7 @@ void QmlDesignerProjectManager::fileListChanged()
|
||||
|
||||
void QmlDesignerProjectManager::activeTargetChanged(ProjectExplorer::Target *target)
|
||||
{
|
||||
if (!m_projectData)
|
||||
if (!m_projectData || !m_projectData->projectStorageData)
|
||||
return;
|
||||
|
||||
QObject::disconnect(m_projectData->activeTarget, nullptr, nullptr, nullptr);
|
||||
|
Reference in New Issue
Block a user