From fe4f47c235468c0e070f6930065ba4825f2aba61 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Thu, 11 Jul 2024 15:43:05 +0200 Subject: [PATCH] Wizards: Suppress warning for non-projects The warning is explicitly for sub projects. Kind of amends e30dd3c5ee18462b9b6ec5632efa0b5528f4971f. Change-Id: Ic54e5ca8c3505cf113a178b8b4be6da4a4e64ac0 Reviewed-by: Marcus Tillmanns --- src/plugins/projectexplorer/jsonwizard/jsonsummarypage.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/projectexplorer/jsonwizard/jsonsummarypage.cpp b/src/plugins/projectexplorer/jsonwizard/jsonsummarypage.cpp index a824a7353d7..482b95a9c7f 100644 --- a/src/plugins/projectexplorer/jsonwizard/jsonsummarypage.cpp +++ b/src/plugins/projectexplorer/jsonwizard/jsonsummarypage.cpp @@ -296,6 +296,8 @@ void JsonSummaryPage::updateProjectData(FolderNode *node) updateFileList(); setStatusVisible(false); + if (wizardKind(m_wizard) != IWizardFactory::ProjectWizard) + return; if (node && !m_fileList.isEmpty()) { const FilePath parentFolder = node->directory(); const FilePath subProjectFolder = m_fileList.first().file.filePath().parentDir();