Modal window and app Quit
Modal window and app Quit
- Subject: Modal window and app Quit
- From: tridiak <email@hidden>
- Date: Fri, 24 Aug 2012 05:52:17 +1200
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 (email@hidden)
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:
This email sent to email@hidden