1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Fixed 273306. Correct enablement of Variables view action contributions. The 'enablesFor=1' is not appropriate for the Add Global Variables action. Thhat action does not use the viewers selection as context.

This commit is contained in:
John Cortell 2009-04-22 19:05:16 +00:00
parent f789f8b6d1
commit 542c042317

View file

@ -757,7 +757,6 @@
</action>
<action
helpContextId="add_globals_action_context"
enablesFor="1"
label="%AddGlobalsAction.label"
class="org.eclipse.cdt.debug.internal.ui.actions.AddGlobalsActionDelegate"
icon="icons/elcl16/watch_globals.gif"
@ -1143,7 +1142,6 @@
<action
helpContextId="add_globals_action_context"
disabledIcon="icons/dlcl16/watch_globals.gif"
enablesFor="1"
toolbarPath="additions"
label="%AddGlobalsAction.label"
tooltip="%AddGlobalsAction.tooltip"