diff options
author | Darin Wright | 2005-04-05 22:01:52 +0000 |
---|---|---|
committer | Darin Wright | 2005-04-05 22:01:52 +0000 |
commit | 5b75174178d16d47bbd372851a0212561723d3d4 (patch) | |
tree | da09748abb004bd93be9a0a2a363f3e06a024abe | |
parent | ec17d20cf542d72572d014029a43b7799bfb4606 (diff) | |
download | eclipse.platform.debug-5b75174178d16d47bbd372851a0212561723d3d4.tar.gz eclipse.platform.debug-5b75174178d16d47bbd372851a0212561723d3d4.tar.xz eclipse.platform.debug-5b75174178d16d47bbd372851a0212561723d3d4.zip |
Bug 89748 - [polish] "Search for duplicate source files" option doesn't work
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupPanel.java | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupPanel.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupPanel.java index a728dce31..2df1a6e96 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupPanel.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupPanel.java @@ -7,6 +7,7 @@ * * Contributors: * IBM Corporation - initial API and implementation + * QNX Software Systems - Mikhail Khodjaiants - Bug 89748 *******************************************************************************/ package org.eclipse.debug.internal.ui.sourcelookup; @@ -378,9 +379,13 @@ public class SourceLookupPanel extends AbstractLaunchConfigurationTab implements protected boolean isDefault(ILaunchConfiguration configuration) { ISourceContainer[] current = getEntries(); - return current.length == 1 && current[0] instanceof DefaultSourceContainer; + return !isFindDuplicates() && current.length == 1 && current[0] instanceof DefaultSourceContainer; } - + + private boolean isFindDuplicates() { + return fDuplicatesButton.getSelection(); + } + /** * Returns the entries visible in the viewer */ |