1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 460760: Fix DsfSourceDisplayAdapter.openEditor to avoid ignoring editor id set in SourceLookupResult

Change-Id: I83ef2c8b22cf7a4acef3ccd68b9785a57cb66981
Signed-off-by: Dmitry Kozlov <ddk@codesourcery.com>
This commit is contained in:
Dmitry Kozlov 2015-02-25 11:57:10 +04:00 committed by Elena Laskavaia
parent 81668c89f0
commit 2af7d6d592

View file

@ -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) {}
}
}