Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/dsf
diff options
context:
space:
mode:
authorYannick Mayeur2017-05-04 15:39:18 +0000
committerJonah Graham2017-05-05 10:21:29 +0000
commitbda21e55ab902d387e303c096d2c7fca041548c6 (patch)
treeb40d684d56f5471fd8bfb879894d6bacda20a58f /dsf
parenta4ed6785527a4381e7ade0bae70de2ee0612da45 (diff)
downloadorg.eclipse.cdt-bda21e55ab902d387e303c096d2c7fca041548c6.tar.gz
org.eclipse.cdt-bda21e55ab902d387e303c096d2c7fca041548c6.tar.xz
org.eclipse.cdt-bda21e55ab902d387e303c096d2c7fca041548c6.zip
Bug 515703: The source not found editor now updates
I removed an if statement where the two compared items always have the same value thus not executing the code that updates the editor. Change-Id: I3fb43a1c84d06ce6dc92e95f6c745a4b23977f2d Signed-off-by: Yannick Mayeur <yannick.mayeur@gmail.com>
Diffstat (limited to 'dsf')
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/sourcelookup/DsfSourceDisplayAdapter.java4
1 files changed, 1 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 1aee1d442a5..d50382f8428 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
@@ -474,9 +474,7 @@ public class DsfSourceDisplayAdapter implements ISourceDisplay, ISteppingControl
*/
if (editor instanceof IReusableEditor) {
IReusableEditor re = (IReusableEditor) editor;
- if (!input.equals(re.getEditorInput())) {
- re.setInput(input);
- }
+ re.setInput(input);
}
return editor;
}

Back to the top