From 07fae31f3cb17c36c4e2ab2ddfb9a33ca8f993c9 Mon Sep 17 00:00:00 2001 From: hjk Date: Wed, 26 Feb 2020 12:46:18 +0100 Subject: [PATCH] ProjectExplorer: Fix BuildSystem::disabledReason Inverted logic. Change-Id: Ie2decba4724dc663cfeb84d4d8be58319c9443ad Reviewed-by: Christian Kandeler --- src/plugins/projectexplorer/buildsystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/buildsystem.cpp b/src/plugins/projectexplorer/buildsystem.cpp index f360ea6648b..ea299cd522d 100644 --- a/src/plugins/projectexplorer/buildsystem.cpp +++ b/src/plugins/projectexplorer/buildsystem.cpp @@ -316,7 +316,7 @@ void BuildSystem::emitBuildSystemUpdated() QString BuildSystem::disabledReason(const QString &buildKey) const { - if (hasParsingData()) { + if (!hasParsingData()) { QString msg = isParsing() ? tr("The project is currently being parsed.") : tr("The project could not be fully parsed."); const FilePath projectFilePath = buildTarget(buildKey).projectFilePath;