forked from qt-creator/qt-creator
CMake: Properly reset CMakeTool on file path change
Fixes: QTCREATORBUG-18530 Change-Id: I46842aeb4bcfc2ae1267a485fd454b888cd1a885 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Tobias Hunger
parent
c5fe523774
commit
e186df1ba3
@@ -160,8 +160,7 @@ void CMakeTool::setFilePath(const Utils::FilePath &executable)
|
|||||||
if (m_executable == executable)
|
if (m_executable == executable)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
m_introspection->m_didRun = false;
|
m_introspection = std::make_unique<Internal::IntrospectionData>();
|
||||||
m_introspection->m_didAttemptToRun = false;
|
|
||||||
|
|
||||||
m_executable = executable;
|
m_executable = executable;
|
||||||
CMakeToolManager::notifyAboutUpdate(this);
|
CMakeToolManager::notifyAboutUpdate(this);
|
||||||
|
Reference in New Issue
Block a user