Use classic close() handle when macOS 10.13 workaround is on

This commit is contained in:
Martino Facchin 2017-09-28 09:21:41 +02:00
parent 0c325b4ff6
commit 59a57a9312
1 changed files with 1 additions and 1 deletions

View File

@ -971,7 +971,7 @@ public class Base {
// Save out the current prefs state
PreferencesData.save();
if (!OSUtils.isMacOS()) {
if (!OSUtils.isMacOS() || System.getProperty("apple.laf.useScreenMenuBar") == "false") {
// If this was fired from the menu or an AppleEvent (the Finder),
// then Mac OS X will send the terminate signal itself.
System.exit(0);