When quiting cause of logout or shutdown fix the notification shown to user that application has prevented the operation.

cusax-fix
Damian Minkov 15 years ago
parent db3473b21f
commit e8de7aa5be

@ -30,8 +30,12 @@ public void handleQuit(ApplicationEvent event)
* application. We've already initiated the quit and we'll
* eventually complete it i.e. we'll honor the request of
* Mac OS X to quit.
*
* (2011-06-10) Changed to true, we tell that quit is handled
* as otherwise will stop OS from logout or shutdown and
* a notification will be shown to user to inform about it.
*/
event.setHandled(false);
event.setHandled(true);
}
});
return true;

Loading…
Cancel
Save