Commit 34d7b26a authored by hjk's avatar hjk Committed by Tobias Hunger

ProjectExplorer: Shield against null project

.. in MiniProjectTargetSelector::addedDeployConfiguration. Similar
was already present in  MiniProjectTargetSelector::addedRunConfiguration

Change-Id: Ie1c86a8e12bdbfd5c0beea58a1a41a2cbf3d52f2
Reviewed-by: Tobias Hunger's avatarTobias Hunger <>
parent b8533dcb
......@@ -1111,7 +1111,7 @@ bool MiniProjectTargetSelector::removedBuildConfiguration(BuildConfiguration *bc
bool MiniProjectTargetSelector::addedDeployConfiguration(DeployConfiguration *dc)
if (dc->target() != m_project->activeTarget())
if (!m_project || dc->target() != m_project->activeTarget())
return false;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment