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:
parent
81668c89f0
commit
2af7d6d592
1 changed files with 3 additions and 3 deletions
|
@ -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) {}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue