forked from qt-creator/qt-creator
ProjectManagers: Update project languages based on data sent to the codemodel
Change-Id: Iecf61f66389fff6f3995c4f4bc893ffd190c50e6 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -293,6 +293,7 @@ void GenericProject::refresh(RefreshOptions options)
|
||||
}
|
||||
|
||||
pinfo.appendProjectPart(part);
|
||||
setProjectLanguage(ProjectExplorer::Constants::LANG_CXX, !part->files.isEmpty());
|
||||
|
||||
modelManager->updateProjectInfo(pinfo);
|
||||
m_codeModelFuture = modelManager->updateSourceFiles(filesToUpdate);
|
||||
|
Reference in New Issue
Block a user