#291 new
Alexander Weiss

Disabling CPToolbarItem doesn't work when building toolbar.

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

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.

No comments found

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.

Shared Ticket Bins

People watching this ticket

Pages