I've now isolated it to the makeKeyAndOrderFront: method. I tried just a regular button with that class, but the moment I click it, up opens the debugger. The toolbar part isn't really an issue. I'm not really sure what to do from this point, because I can't tell why the method isn't working.

- Walker Argendeli

On Feb 25, 2009, at 5:04 PM, Walker Argendeli wrote:

My app has a toolbar, and I recently added a panel. Then, I put a new button in the toolbar, and set its action makeKeyAndOrderFront: on the new panel. Problem is, the moment I make this connection, the app goes haywire. When I launch the app, both main window and new panel appear. If I try to customize the toolbar (by opening the customize dropdown) everything works fine, until I close the new panel and try and customize again. Then, the debugger launches. I'm not sure why this causes the app to crash, but it does. Anyone have ideas?

- Walker Argendeli


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to