forked from qt-creator/qt-creator
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 04a23c38f0
.
Fixes: QTCREATORBUG-28330
Change-Id: Ic7e63a1bbbf3e4c37383849cfad05529bac23e9b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -486,7 +486,7 @@ void BuildManager::updateTaskCount()
|
|||||||
{
|
{
|
||||||
const int errors = getErrorTaskCount();
|
const int errors = getErrorTaskCount();
|
||||||
ProgressManager::setApplicationLabel(errors > 0 ? QString::number(errors) : QString());
|
ProgressManager::setApplicationLabel(errors > 0 ? QString::number(errors) : QString());
|
||||||
if (errors > 0 && !d->m_poppedUpTaskWindow) {
|
if (isBuilding() && errors > 0 && !d->m_poppedUpTaskWindow) {
|
||||||
showTaskWindow();
|
showTaskWindow();
|
||||||
d->m_poppedUpTaskWindow = true;
|
d->m_poppedUpTaskWindow = true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user