diff options
author | Darin Wright | 2006-11-29 17:33:49 +0000 |
---|---|---|
committer | Darin Wright | 2006-11-29 17:33:49 +0000 |
commit | 4a6637cdd80e401e4170fe4121a28469ad339bed (patch) | |
tree | 174ab1129b4bc5ee3728b728b9c47fd4c5e3c2ba | |
parent | cc2bd49a3941012a259f49b28c81efb20e190b0a (diff) | |
download | eclipse.platform.debug-I20061128-rebuild.tar.gz eclipse.platform.debug-I20061128-rebuild.tar.xz eclipse.platform.debug-I20061128-rebuild.zip |
Bug 166125[launching] run last no longer runs lastv20061129I20061128-rebuild
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/AbstractLaunchHistoryAction.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/AbstractLaunchHistoryAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/AbstractLaunchHistoryAction.java index b7214cdd2..2bc1e3f4b 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/AbstractLaunchHistoryAction.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/AbstractLaunchHistoryAction.java @@ -221,7 +221,12 @@ public abstract class AbstractLaunchHistoryAction implements IWorkbenchWindowPul * action's launch history that is not filtered from the menu */ protected ILaunchConfiguration getLastLaunch() { - return getLaunchConfigurationManager().getFilteredLastLaunch(getLaunchGroupIdentifier()); + LaunchConfigurationManager manager = getLaunchConfigurationManager(); + ILaunchConfiguration configuration = manager.getLastLaunch(getLaunchGroupIdentifier()); + if (configuration == null) { + return manager.getFilteredLastLaunch(getLaunchGroupIdentifier()); + } + return configuration; } /** |