Default exit confirmation dialog to off

Worst feature ever.

Closes #612
This commit is contained in:
Derek Bankieris 2018-05-07 08:10:31 -05:00
parent ba2df0757e
commit 62f95e784f

View File

@ -362,8 +362,7 @@ public abstract class TrickApplication extends SingleFrameApplication implements
*/
@Override
protected void startup() {
// Add this exit listener if the sub class likes the confirmation dialog
String defaultValue = Boolean.toString(true);
String defaultValue = Boolean.toString(false);
boolean savedExitProperty = new Boolean(trickProperties.getProperty(
"confirmExit", defaultValue)).booleanValue();
if (( savedExitProperty == true ) && (getExitListeners().length==0)) {