Commit 5afe67a6 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Fix crash on Id comparison

Task-number: QTCREATORBUG-8600
Change-Id: Ib6993476b503409534314bb1fdf990faa9d9f32a
Reviewed-by: default avatarTobias Hunger <>
parent a3ebfae1
......@@ -395,7 +395,7 @@ CustomExecutableRunConfigurationFactory::~CustomExecutableRunConfigurationFactor
bool CustomExecutableRunConfigurationFactory::canCreate(ProjectExplorer::Target *parent,
const Core::Id id) const
if (!canHandle(parent))
if (!canHandle(parent) || !id.isValid())
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