1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

correct launch history for group launch

- group launch would not appear in launch history as last item when
launched, so if you try to repeat last lunch you only get the last child
of the group launch. Fixing launch history by re-adding group launch at
the end

Change-Id: Iadf08c0639dcae63255c28d8cd08ccce23ffd660
This commit is contained in:
Alena Laskavaia 2016-02-04 13:00:35 -05:00 committed by Gerrit Code Review @ Eclipse.org
parent ed8a6ea120
commit c81aef4e42

View file

@ -399,6 +399,11 @@ public class MultiLaunchConfigurationDelegate extends LaunchConfigurationDelegat
// So, fake another event now.
((MultiLaunch)launch).launchChanged(subLaunch);
//Now we need to override the history to make multi-launch appear last, if we
//don't do it last launch would be our child's launch which is not correct
//for repeating the experience
DebugUIPlugin.getDefault().getLaunchConfigurationManager().setRecentLaunch(launch);
postLaunchAction(subLaunch, le.action, le.actionParam, monitor);