It's probably somewhere really obvious but I can find it for the life of me...
Is there a way to disable the Shutdown Confirmation where it asks you "Yes" or "No"?
Thanks!
Alrighty, that was fast. Thanks!
Is there a way to disable it? I personally don't care for the confirmation pop-up either.
Open Includes_MainMenu.xml, find (probably around line 1072):
Code:
<onclick>ActivateWindow(1113)</onclick>
and change it to:
Code:
<onclick>Shutdown()</onclick>
Also, even though it's not necessary, you may delete the 2 occurances of "Window.IsVisible(1113) | "
in this file, as well as the file titled custom_1113_ShutdownWarning.xml, I think you'll have no problems.
btw with GIT aeon nox version you can create what you want without adjusting code. just create a custom home menu item and choose "pre-defined function" as type. then just click on shutdown. done.
EDIT: forgot that you can also do it with 3.0 already
choose custom as type and enter "Shutdown()" then. it won´t be overwritten by updates then anymore.