mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 17:35:35 +02:00
bug 371797: Fixed bug when in legacy mode scanner discovery doesn't run after creation of a project
This commit is contained in:
parent
1f83e4aa21
commit
357057ba14
1 changed files with 3 additions and 3 deletions
|
@ -112,7 +112,7 @@ public class ScannerDiscoveryLegacySupport {
|
|||
project = prjDescription.getProject();
|
||||
}
|
||||
}
|
||||
return isLanguageSettingsProvidersFunctionalityEnabled(project) || isMbsLanguageSettingsProviderOn(cfgDescription);
|
||||
return !isLanguageSettingsProvidersFunctionalityEnabled(project) || isMbsLanguageSettingsProviderOn(cfgDescription);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -125,9 +125,9 @@ public class ScannerDiscoveryLegacySupport {
|
|||
if (prjDescription != null) {
|
||||
cfgDescription = prjDescription.getActiveConfiguration();
|
||||
}
|
||||
return isLanguageSettingsProvidersFunctionalityEnabled(project) || isMbsLanguageSettingsProviderOn(cfgDescription);
|
||||
return !isLanguageSettingsProvidersFunctionalityEnabled(project) || isMbsLanguageSettingsProviderOn(cfgDescription);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Return list containing MBS and User provider. Used to initialize for unaware tool-chains (backward compatibility).
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue