Ah. If you are using an Action, you can just disable the action.

On Apr 26, 2011, at 2:31 PM, lello wrote:

> In the meanwhile I found the problem.
> If the action is removed then setEnabled(false) warks as it should.
> Apparently you must have a null action,
> or the menu item is forced to be enabled. Is this true?
> 
> --
> View this message in context: 
> http://apache-pivot-users.399431.n3.nabble.com/Disable-Menu-Item-tp2865710p2866794.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Reply via email to