# HG changeset patch # User Ed Swartz # Date 1278529436 18000 # Node ID 39ba239eeb5cab8e147f4a1f60f8a24bff514835 # Parent c7ab3cbf655a0d4c351f7d96abf590e1dce3d70c Fix bug where launch configs created from Executables view need to be saved after editing diff -r c7ab3cbf655a -r 39ba239eeb5c debuggercdi/com.nokia.cdt.debug.cw.symbian/src/com/nokia/cdt/debug/cw/symbian/SettingsData.java --- a/debuggercdi/com.nokia.cdt.debug.cw.symbian/src/com/nokia/cdt/debug/cw/symbian/SettingsData.java Wed Jul 07 11:40:40 2010 -0500 +++ b/debuggercdi/com.nokia.cdt.debug.cw.symbian/src/com/nokia/cdt/debug/cw/symbian/SettingsData.java Wed Jul 07 14:03:56 2010 -0500 @@ -680,9 +680,8 @@ if (project != null) { configuration.setMappedResources( new IResource[] { project }); ICarbideProjectInfo cpi = CarbideBuilderPlugin.getBuildManager().getProjectInfo(project); - if (cpi != null) { - configuration.setAttribute(ICDTLaunchConfigurationConstants.ATTR_PROJECT_BUILD_CONFIG_ID, cpi.getDefaultBuildConfigName()); - } + configuration.setAttribute(ICDTLaunchConfigurationConstants.ATTR_PROJECT_BUILD_CONFIG_ID, + cpi != null ? cpi.getDefaultBuildConfigName() : ""); //$NON-NLS-1$ } // set rom log file defaults. do this for all launch types since it shouldn't hurt