mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 08:55:25 +02:00
move setDialogShell into Maintab to is will alway be set
This commit is contained in:
parent
d7afd79e1e
commit
2d183e519d
4 changed files with 2 additions and 5 deletions
|
@ -61,7 +61,7 @@ public class LaunchUIPlugin extends AbstractUIPlugin {
|
|||
return shell;
|
||||
}
|
||||
|
||||
public static void setDebugDialogShell(Shell shell) {
|
||||
public static void setDialogShell(Shell shell) {
|
||||
debugDialogShell = shell;
|
||||
}
|
||||
|
||||
|
|
|
@ -121,8 +121,6 @@ public class CDebuggerTab extends AbstractCDebuggerTab {
|
|||
gd = new GridData(GridData.FILL_BOTH);
|
||||
gd.horizontalSpan = 2;
|
||||
getDynamicTabHolder().setLayoutData(gd);
|
||||
|
||||
LaunchUIPlugin.setDebugDialogShell(parent.getShell());
|
||||
}
|
||||
|
||||
protected void loadDebuggerComboBox(ILaunchConfiguration config, String selection) {
|
||||
|
|
|
@ -140,6 +140,7 @@ public class CMainTab extends CLaunchConfigurationTab {
|
|||
updateLaunchConfigurationDialog();
|
||||
}
|
||||
});
|
||||
LaunchUIPlugin.setDialogShell(parent.getShell());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -54,8 +54,6 @@ public class CorefileDebuggerTab extends AbstractCDebuggerTab {
|
|||
GridData gd = new GridData(GridData.FILL_BOTH);
|
||||
gd.horizontalSpan = 2;
|
||||
getDynamicTabHolder().setLayoutData(gd);
|
||||
|
||||
LaunchUIPlugin.setDebugDialogShell(parent.getShell());
|
||||
}
|
||||
|
||||
protected void loadDebuggerComboBox(ILaunchConfiguration config, String selection) {
|
||||
|
|
Loading…
Add table
Reference in a new issue