mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 09:25:31 +02:00
fix bug #191498, [DOMAST] can't open external file by clicking on AST node
This commit is contained in:
parent
5969af9ce6
commit
2851469c4a
1 changed files with 1 additions and 3 deletions
|
@ -997,11 +997,9 @@ public class DOMAST extends ViewPart {
|
|||
|
||||
if (tu != null) {
|
||||
try {
|
||||
aPart = EditorUtility.openInEditor(tu);
|
||||
aPart = EditorUtility.openInEditor(path, tu);
|
||||
} catch (PartInitException e) {
|
||||
return;
|
||||
} catch (CModelException e) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue