I have a simple document app-wide modal window shown using [NSApp showModal:].
It works all fine and dandy.
Problem is, if Cmd-Q is initiated, it does a highlight of the Application menu, 
makes a beep and the Quit menu item becomes permanently disabled after the 
modal window has been dismissed.

[window setPreventsApplicationTerminationWhenModal:NO] (or YES) doesn't help.

Created a simple message to close ([NSApp stopModal]; [window close];) the 
window from - applicationShouldTerminate:. That doesn't help. The quit menu 
remains dimmed (and application doesn't quit).

OS 10.7.4 (SDK 10.6. Target 10.6).

TIA
_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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

Reply via email to