mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
[231149] - prevent NPE
This commit is contained in:
parent
e2950c2b0f
commit
8cc0de06be
1 changed files with 4 additions and 2 deletions
|
@ -569,8 +569,10 @@ abstract public class AbstractCLaunchDelegate extends LaunchConfigurationDelegat
|
|||
if (buildConfigID.length() > 0 && projDes != null)
|
||||
{
|
||||
ICConfigurationDescription buildConfiguration = projDes.getConfigurationById(buildConfigID);
|
||||
buildConfiguration.setActive();
|
||||
CDTPropertyManager.performOk(null);
|
||||
if (null != buildConfiguration) {
|
||||
buildConfiguration.setActive();
|
||||
CDTPropertyManager.performOk(null);
|
||||
}
|
||||
}
|
||||
|
||||
} catch (CoreException e) {}
|
||||
|
|
Loading…
Add table
Reference in a new issue