Skip to main content
summaryrefslogtreecommitdiffstats
path: root/dsf
diff options
context:
space:
mode:
authorJonah Graham2015-07-16 14:14:04 -0400
committerGerrit Code Review @ Eclipse.org2015-08-04 13:50:28 -0400
commitad52facf4e3c3aa6ee5222475c75ff53363f2bf9 (patch)
tree4fc2c56601e7ac840eff261a1212b5a512475a95 /dsf
parent7237fa8ac6b48768f2e31c796f1aa540d95361cf (diff)
downloadorg.eclipse.cdt-ad52facf4e3c3aa6ee5222475c75ff53363f2bf9.tar.gz
org.eclipse.cdt-ad52facf4e3c3aa6ee5222475c75ff53363f2bf9.tar.xz
org.eclipse.cdt-ad52facf4e3c3aa6ee5222475c75ff53363f2bf9.zip
Bug 460760: Revert Fix DsfSourceDisplayAdapter.openEditor change
Revert "Bug 460760: Fix DsfSourceDisplayAdapter.openEditor to avoid ignoring editor id set in SourceLookupResult " This reverts commit 2af7d6d5926acc33f6faa6ccdf72863920eb54d0. Change-Id: I0f2694605f95007ad1feac9a126365958d732bd4 Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
Diffstat (limited to 'dsf')
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/sourcelookup/DsfSourceDisplayAdapter.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/sourcelookup/DsfSourceDisplayAdapter.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/sourcelookup/DsfSourceDisplayAdapter.java
index b99fb994c2..46331c52af 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/sourcelookup/DsfSourceDisplayAdapter.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/sourcelookup/DsfSourceDisplayAdapter.java
@@ -405,9 +405,9 @@ public class DsfSourceDisplayAdapter implements ISourceDisplay, ISteppingControl
if (! input.equals(re.getEditorInput()))
re.setInput(input);
}
- } else {
- editor[0] = page.openEditor(input, id, false, IWorkbenchPage.MATCH_ID);
- }
+ }
+ else
+ editor[0] = page.openEditor(input, id, false);
} catch (PartInitException e) {}
}
}

Back to the top