1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-02 05:45:58 +02:00

Bug 324624 - Launch group: Number of entries is not reducible

This commit is contained in:
Teodor Madan 2011-05-25 07:21:21 +00:00
parent ffc95c0d8d
commit 5c31ff1458

View file

@ -448,9 +448,10 @@ public class MultiLaunchConfigurationTabGroup extends AbstractLaunchConfiguratio
} }
public void initializeFrom(ILaunchConfiguration configuration) { public void initializeFrom(ILaunchConfiguration configuration) {
MultiLaunchConfigurationDelegate.createLaunchElements(configuration, input); // replace the input from previously shown launch configurations
input = MultiLaunchConfigurationDelegate.createLaunchElements(configuration, new ArrayList<LaunchElement>());
if (treeViewer != null) { if (treeViewer != null) {
treeViewer.refresh(true); treeViewer.setInput(input);
} }
} }