Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2005-04-05 22:01:52 +0000
committerDarin Wright2005-04-05 22:01:52 +0000
commit5b75174178d16d47bbd372851a0212561723d3d4 (patch)
treeda09748abb004bd93be9a0a2a363f3e06a024abe /org.eclipse.debug.ui
parentec17d20cf542d72572d014029a43b7799bfb4606 (diff)
downloadeclipse.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
Diffstat (limited to 'org.eclipse.debug.ui')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupPanel.java9
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
*/

Back to the top