diff --git a/src/plugins/projectexplorer/runconfiguration.cpp b/src/plugins/projectexplorer/runconfiguration.cpp index 03843d3a9ea..9923486a732 100644 --- a/src/plugins/projectexplorer/runconfiguration.cpp +++ b/src/plugins/projectexplorer/runconfiguration.cpp @@ -1214,7 +1214,7 @@ Project *RunControl::project() const bool RunControl::canReUseOutputPane(const RunControl *other) const { - if (other->isRunning()) + if (!other || other->isRunning()) return false; return d->runnable.canReUseOutputPane(other->d->runnable);