diff --git a/src/plugins/projectexplorer/buildmanager.cpp b/src/plugins/projectexplorer/buildmanager.cpp index 59beff60f77..7a2f3b53f24 100644 --- a/src/plugins/projectexplorer/buildmanager.cpp +++ b/src/plugins/projectexplorer/buildmanager.cpp @@ -486,7 +486,7 @@ void BuildManager::updateTaskCount() { const int errors = getErrorTaskCount(); ProgressManager::setApplicationLabel(errors > 0 ? QString::number(errors) : QString()); - if (errors > 0 && !d->m_poppedUpTaskWindow) { + if (isBuilding() && errors > 0 && !d->m_poppedUpTaskWindow) { showTaskWindow(); d->m_poppedUpTaskWindow = true; }