Re: modal window and quit menu item

2013-10-19 Thread tridiak
I created a simple project that uses a modal window. The quit execution works are stated in the docs even though the window is modal. Which means I am doing something wrong. More investigating to do. On 19/10/2013, at 3:01 PM, Ken Thomases wrote: > On Oct 18, 2013, at 6:35 PM, trid...@ihu

Re: modal window and quit menu item

2013-10-18 Thread Ken Thomases
On Oct 18, 2013, at 6:35 PM, trid...@ihug.co.nz wrote: > Problem : quit menu stays active > when a window is presented using [NSApp runModal:window]. What is the target of the Quit menu item? What is its action method? A typical setup is that its action method is -terminate: and its target is

Re: modal window and quit menu item

2013-10-18 Thread Mikael Hakman
Is it an error message that you display at the time your user quits the application? /Mikael On Oct 19, 2013, at 1:35 AM, trid...@ihug.co.nz wrote: > > > I have done a net search concerning the problem and I have found > discussions on it, but no solution. > > Problem : quit menu stays acti

modal window and quit menu item

2013-10-18 Thread tridiak
I have done a net search concerning the problem and I have found discussions on it, but no solution. Problem : quit menu stays active when a window is presented using [NSApp runModal:window]. Quitting causes the menu item to be permanently disabled. [window setPreventsApplicationTerminati