fixed problem with my last commit - fixes bug #9276.
authorwpaul
Mon, 15 Jun 2009 14:07:22 -0500
changeset 243 83c1dc10c047
parent 230 0c429b331dcc
child 244 87e439e53c32
fixed problem with my last commit - fixes bug #9276.
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	Thu Jun 11 16:16:05 2009 -0500
+++ b/debuggercdi/com.nokia.cdt.debug.cw.symbian/src/com/nokia/cdt/debug/cw/symbian/SettingsData.java	Mon Jun 15 14:07:22 2009 -0500
@@ -720,8 +720,16 @@
 
 		if (settingsGroup.equals(LaunchConfig_AppTRK)) {
 			setInstallationTab(configuration, project);
+
+			// set this so it's there in the config and the apply button doesn't become
+			// enabled when switching to the tab
+			configuration.setAttribute( PreferenceConstants.J_PN_FilesToTransfer, "" ); //$NON-NLS-1$
 		}
 		
+		if (settingsGroup.equals(LaunchConfig_SysTRK)) {
+			setFileTransferTab(configuration, project);
+		}
+
 		if (settingsGroup.equals(LaunchConfig_Trace32) ||
 				settingsGroup.equals(LaunchConfig_SophiaSTI))
 		{
@@ -733,7 +741,6 @@
 		if (settingsGroup.equals(LaunchConfig_AppTRK) || settingsGroup.equals(LaunchConfig_SysTRK)) {
 			setTrkMainTab(configuration, project);
 			setTrkDebuggerTab(configuration, project);
-			setFileTransferTab(configuration, project);
 			
 			// TRK Debugging: specify TRK protocol plugin.
 			//