mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
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>
This commit is contained in:
parent
a4ed678552
commit
bda21e55ab
1 changed files with 1 additions and 3 deletions
|
@ -474,10 +474,8 @@ public class DsfSourceDisplayAdapter implements ISourceDisplay, ISteppingControl
|
|||
*/
|
||||
if (editor instanceof IReusableEditor) {
|
||||
IReusableEditor re = (IReusableEditor) editor;
|
||||
if (!input.equals(re.getEditorInput())) {
|
||||
re.setInput(input);
|
||||
}
|
||||
}
|
||||
return editor;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue