From c89bef9dcd4e6029249c4ec11b5b1e1215e9dc53 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Mon, 7 Nov 2022 14:23:06 +0100 Subject: [PATCH] ProjectExplorer: Do not pop up the issues pane while not building Otherwise, the issues pane can pop up due to a key press, as code models refresh their diagnostic entries. Amends 04a23c38f0d751cd4b1757d775434e8c40eae006. Fixes: QTCREATORBUG-28330 Change-Id: Ic7e63a1bbbf3e4c37383849cfad05529bac23e9b Reviewed-by: Christian Stenger Reviewed-by: --- src/plugins/projectexplorer/buildmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }