Skip to main content
summaryrefslogtreecommitdiffstats
path: root/dsf
diff options
context:
space:
mode:
authorDmitry Kozlov2015-02-25 02:57:10 -0500
committerElena Laskavaia2015-07-09 07:56:07 -0400
commit2af7d6d5926acc33f6faa6ccdf72863920eb54d0 (patch)
treedfa9bb5fc360c49b242e6effcafdc141f3ebaa0d /dsf
parent81668c89f073cec55a7f4150ca3efa1191b76451 (diff)
downloadorg.eclipse.cdt-2af7d6d5926acc33f6faa6ccdf72863920eb54d0.tar.gz
org.eclipse.cdt-2af7d6d5926acc33f6faa6ccdf72863920eb54d0.tar.xz
org.eclipse.cdt-2af7d6d5926acc33f6faa6ccdf72863920eb54d0.zip
Bug 460760: Fix DsfSourceDisplayAdapter.openEditor to avoid ignoring editor id set in SourceLookupResult
Change-Id: I83ef2c8b22cf7a4acef3ccd68b9785a57cb66981 Signed-off-by: Dmitry Kozlov <ddk@codesourcery.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 46331c52af..b99fb994c2 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);
+ } else {
+ editor[0] = page.openEditor(input, id, false, IWorkbenchPage.MATCH_ID);
+ }
} catch (PartInitException e) {}
}
}

Back to the top