1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-07 17:56:01 +02:00

Don't do anything if action is null.

This commit is contained in:
Mikhail Khodjaiants 2003-02-11 23:49:31 +00:00
parent 929824408d
commit 8a43cba9c6

View file

@ -180,10 +180,6 @@ public class AddGlobalsActionDelegate implements IViewActionDelegate,
{
action.setEnabled( getEnableStateForSelection( getSelection() ) );
}
else
{
action.setEnabled( false );
}
}
/* (non-Javadoc)