NSWindow does not respond to keystroke command-s

Posted by wackazong on Stack Overflow See other posts from Stack Overflow or by wackazong
Published on 2009-12-17T01:01:56Z Indexed on 2010/04/02 16:03 UTC
Read the original article Hit count: 521

Hello,

it may pre very simple, but cannot find it:

I have three windows in three separate NIBs in my application. One is opened when a new document is opened, the other two can be opened from the program's window menu.

The problem is: two windows (in them the one that is opened at the beginning) accepts the normal keystroke as for example command-s for save, and the other one does not and gives a warning sound instead. I cannot figure out the difference between the two windows or their controllers. I know it will have to do with the responder chain, but I am left clueless.

Any ideas?

Thanks, wackazong

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about nswindow