mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-09 11:33:20 +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) {
|
if (tu != null) {
|
||||||
try {
|
try {
|
||||||
aPart = EditorUtility.openInEditor(tu);
|
aPart = EditorUtility.openInEditor(path, tu);
|
||||||
} catch (PartInitException e) {
|
} catch (PartInitException e) {
|
||||||
return;
|
return;
|
||||||
} catch (CModelException e) {
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue