Hi all, If the user clicks a popup button and reselects the existing selection, the button still sends its action. I'd like to treat that as a nop.
Is there a way to detect, from my action method, that the new selection is the same as the previous selection? (I can of course do this by checking if the change of state that I would perform is no different than the current state, but that check would be different for every popup action I have. I'm hoping for something I can apply more universally. And the reason I want to treat it as a nop is to prevent the creation of undo actions that don't do anything useful.) Thanks, -- ____________________________________________________________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ 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