mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 01:36:01 +02:00
Fix NPE.
This commit is contained in:
parent
9f3c5eb0ed
commit
330bfbfa29
1 changed files with 25 additions and 22 deletions
|
@ -217,6 +217,8 @@ public class CMainTab extends CLaunchConfigurationTab {
|
||||||
* @since 6.0
|
* @since 6.0
|
||||||
*/
|
*/
|
||||||
protected void updateBuildConfigCombo(String selectedConfigID) {
|
protected void updateBuildConfigCombo(String selectedConfigID) {
|
||||||
|
if (fBuildConfigCombo != null)
|
||||||
|
{
|
||||||
fBuildConfigCombo.removeAll();
|
fBuildConfigCombo.removeAll();
|
||||||
fBuildConfigCombo.add(LaunchMessages.getString("CMainTab.Use_Active")); //$NON-NLS-1$
|
fBuildConfigCombo.add(LaunchMessages.getString("CMainTab.Use_Active")); //$NON-NLS-1$
|
||||||
fBuildConfigCombo.setData("0", EMPTY_STRING); //$NON-NLS-1$
|
fBuildConfigCombo.setData("0", EMPTY_STRING); //$NON-NLS-1$
|
||||||
|
@ -243,6 +245,7 @@ public class CMainTab extends CLaunchConfigurationTab {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @since 6.0
|
* @since 6.0
|
||||||
|
|
Loading…
Add table
Reference in a new issue