Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Rennie2008-04-15 12:57:26 -0400
committerMichael Rennie2008-04-15 12:57:26 -0400
commit10ae3709fe1da14dd0ca0fcc5b2e337fd50b7a4d (patch)
tree7574ae87c7407e3e52067137e74007c12cdbd9fc /org.eclipse.debug.ui
parent9dbdf18880b28ce64cd4474296c2f9f4d2067521 (diff)
downloadeclipse.platform.debug-10ae3709fe1da14dd0ca0fcc5b2e337fd50b7a4d.tar.gz
eclipse.platform.debug-10ae3709fe1da14dd0ca0fcc5b2e337fd50b7a4d.tar.xz
eclipse.platform.debug-10ae3709fe1da14dd0ca0fcc5b2e337fd50b7a4d.zip
Bug 217933 No hyperlink in LCD to set launcher after setting supported mode
Diffstat (limited to 'org.eclipse.debug.ui')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsDialog.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsDialog.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsDialog.java
index 297813243..b5779b1a4 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsDialog.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsDialog.java
@@ -1226,7 +1226,7 @@ public class LaunchConfigurationsDialog extends TitleAreaDialog implements ILaun
maxy = (int) (getDisplay().getBounds().height * MAX_DIALOG_HEIGHT_PERCENT);
maxx = (maxx < DEFAULT_INITIAL_DIALOG_SIZE.x ? DEFAULT_INITIAL_DIALOG_SIZE.x : maxx);
maxy = (maxy < DEFAULT_INITIAL_DIALOG_SIZE.y ? DEFAULT_INITIAL_DIALOG_SIZE.y : maxy);
- Point psize = fTabViewer.getTabFolder().computeSize(SWT.DEFAULT, maxy);
+ Point psize = getShell().computeSize(SWT.DEFAULT, maxy);
if((psize.x > maxx ? maxx : psize.x) > shell.x || (psize.y > maxy ? maxy : psize.y) > shell.y) {
setShellSize(Math.min(psize.x, maxx), Math.min(psize.y, maxy));
}

Back to the top