mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-21 07:55:24 +02:00
Launch Bar - fix ordering problem initing launch config edit tabs.
This commit is contained in:
parent
909315e0c7
commit
0a3f35c3ed
1 changed files with 5 additions and 5 deletions
|
@ -128,6 +128,11 @@ public class NewLaunchConfigEditPage extends WizardPage {
|
|||
// tab.setDefaults likely renames it
|
||||
nameText.setText(workingCopy.getName());
|
||||
}
|
||||
}
|
||||
|
||||
// Do this after all the tabs have their controls created
|
||||
for (ILaunchConfigurationTab tab : tabGroup.getTabs()) {
|
||||
tab.initializeFrom(workingCopy);
|
||||
|
||||
CTabItem tabItem = new CTabItem(tabFolder, SWT.NONE);
|
||||
tabItem.setText(tab.getName());
|
||||
|
@ -136,11 +141,6 @@ public class NewLaunchConfigEditPage extends WizardPage {
|
|||
tabItem.setControl(tab.getControl());
|
||||
}
|
||||
|
||||
// Do this after all the tabs have their controls created
|
||||
for (ILaunchConfigurationTab tab : tabGroup.getTabs()) {
|
||||
tab.initializeFrom(workingCopy);
|
||||
}
|
||||
|
||||
tabFolder.setSelection(0);
|
||||
} catch (CoreException e) {
|
||||
Activator.log(e);
|
||||
|
|
Loading…
Add table
Reference in a new issue