Bug with two buttons in a view.
Bug with two buttons in a view.
- Subject: Bug with two buttons in a view.
- From: Sheehan Olver <email@hidden>
- Date: Wed, 18 Dec 2002 15:03:39 -0600
I may have found a bug, but I wanted to make sure it wasn't something
I just was missing. In a view in Project Builder I had two buttons, one
called "Merge" with button equiv being return and one called "Next"
with no button equiv. I connected the "Merge" button to an action
mergePressed: in my controoler, and "Next" to an action called
nextPressed:. nextPressed just had an NSLog statement, as I was trying
to figure out the problem, so I took all the actual logic out. So in
this case, the "Merge" button worked perfectly, but the "Next" button
would freeze the whole app, before printing anything out. I tried
debugging it, and when I paused the app while frozen it was in the
middle of a semaphore wait, which seemed weird because it's a single
threaded app, but maybe that has to do with the implementation of
AppKit. Finally, I tried removing the key equivalent of the "Merge"
button, and sure enough everything worked as expected. Anyone have any
ideas?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.