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 @Override
protected void startup() { protected void startup() {
// Add this exit listener if the sub class likes the confirmation dialog String defaultValue = Boolean.toString(false);
String defaultValue = Boolean.toString(true);
boolean savedExitProperty = new Boolean(trickProperties.getProperty( boolean savedExitProperty = new Boolean(trickProperties.getProperty(
"confirmExit", defaultValue)).booleanValue(); "confirmExit", defaultValue)).booleanValue();
if (( savedExitProperty == true ) && (getExitListeners().length==0)) { if (( savedExitProperty == true ) && (getExitListeners().length==0)) {