From 6c5717844db6cdaafc0cc47b5f765d0e9acd055a Mon Sep 17 00:00:00 2001 From: Cristian Adam Date: Fri, 12 Jul 2024 11:55:11 +0200 Subject: [PATCH] CMakePM: Disable CMake actions after clearing CMake configuration This way the user will not have actions that will result in the following error: "Error: could not load cache". Change-Id: I4b4f2015e1215d4c12c6aefc03f4ee5b419016c3 Reviewed-by: Alessandro Portale --- src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp b/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp index 8a65c45b7f9..4db4b78a09b 100644 --- a/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp +++ b/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp @@ -1239,6 +1239,7 @@ void CMakeBuildSystem::clearCMakeCache() path.removeRecursively(); emit configurationCleared(); + emitParsingFinished(false); } void CMakeBuildSystem::combineScanAndParse(bool restoredFromBackup)