mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 09:46:02 +02:00
Don't do anything if action is null.
This commit is contained in:
parent
929824408d
commit
8a43cba9c6
1 changed files with 0 additions and 4 deletions
|
@ -180,10 +180,6 @@ public class AddGlobalsActionDelegate implements IViewActionDelegate,
|
|||
{
|
||||
action.setEnabled( getEnableStateForSelection( getSelection() ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
action.setEnabled( false );
|
||||
}
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
|
|
Loading…
Add table
Reference in a new issue