Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

cazlar

macrumors 6502
Original poster
Oct 2, 2003
492
11
Sydney, Australia
I have an app that I'm making that has an NSView that I draw lines into, and also draw text into (with NSBezierPath). The problem is that I decided to add a keyboard shortcut (via IB) to my "Redraw" button, but when I call the button with the keyboard shortcut (as opposed to clicking with the mouse), the text (but not the lines?) ends up being flipped in the view!

How can the keyboard shortcut end up with a different result than the mouse-click????
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.