Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'systemtap/org.eclipse.linuxtools.systemtap.ui.ide/plugin.xml')
-rw-r--r--systemtap/org.eclipse.linuxtools.systemtap.ui.ide/plugin.xml11
1 files changed, 8 insertions, 3 deletions
diff --git a/systemtap/org.eclipse.linuxtools.systemtap.ui.ide/plugin.xml b/systemtap/org.eclipse.linuxtools.systemtap.ui.ide/plugin.xml
index a7aa854107..ccc32151f2 100644
--- a/systemtap/org.eclipse.linuxtools.systemtap.ui.ide/plugin.xml
+++ b/systemtap/org.eclipse.linuxtools.systemtap.ui.ide/plugin.xml
@@ -500,9 +500,14 @@
value="1">
</count>
<iterate>
- <test
- property="org.eclipse.linuxtools.systemtap.ui.ide.handlers.hasDefinition">
- </test>
+ <and>
+ <instanceof
+ value="org.eclipse.linuxtools.systemtap.structures.TreeDefinitionNode">
+ </instanceof>
+ <test
+ property="org.eclipse.linuxtools.systemtap.ui.ide.handlers.hasDefinition">
+ </test>
+ </and>
</iterate>
</with>
</enabledWhen>

Back to the top