forked from qt-creator/qt-creator
ProjectExplorer: Fix BuildSystem::disabledReason
Inverted logic. Change-Id: Ie2decba4724dc663cfeb84d4d8be58319c9443ad Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user