I need to close the entire app when the user click on a Panel close button, I tried:
- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)theApplication {
return YES;
}
but it closes the app also from file-selector panels.
Thank you in advance. L.