mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 09:16:02 +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()))
|
if (! input.equals(re.getEditorInput()))
|
||||||
re.setInput(input);
|
re.setInput(input);
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
else
|
editor[0] = page.openEditor(input, id, false, IWorkbenchPage.MATCH_ID);
|
||||||
editor[0] = page.openEditor(input, id, false);
|
}
|
||||||
} catch (PartInitException e) {}
|
} catch (PartInitException e) {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue