Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Disabling CPToolbarItem doesn't work when building toolbar.

#291

When creating a toolbar using

- (CPToolbarItem)toolbar:(CPToolbar)aToolbar itemForItemIdentifier:(CPString)anItemIdentifier willBeInsertedIntoToolbar:(BOOL)aFlag

It is impossible to disable the button with:

[toolbarItem setEnabled:NO];

And _isEnabled (in the object for the item in the toolbar remains true). It is possible to change the state (enabled/disable) after the toolbar is created.

Reported by Alexander Weiss · January 17th, 2010 @ 05:55 AM

State: new
Milestone: none
Assigned to: nobody

Activity

No comments yet.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.