debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/UnifiedLaunchOptionsPage.java
branchRCL_2_4
changeset 991 bf0a333d965d
parent 966 15c9cbbf6707
child 1012 a39c7d184f5d
--- a/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/UnifiedLaunchOptionsPage.java	Thu Feb 18 14:39:30 2010 -0600
+++ b/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/UnifiedLaunchOptionsPage.java	Thu Feb 18 15:22:38 2010 -0600
@@ -27,6 +27,7 @@
 import org.eclipse.jface.wizard.WizardPage;
 import org.eclipse.swt.SWT;
 import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Control;
 
 import com.nokia.cdt.internal.debug.launch.LaunchPlugin;
 import com.nokia.cdt.internal.debug.launch.newwizard.IWizardSection.ISectionChangeListener;
@@ -174,5 +175,9 @@
 	 */
 	public void changed() {
 		validatePage();
+		Control control = getControl();
+		if (control != null && !control.isDisposed())
+			getWizard().getContainer().getShell().pack();
+
 	}
 }