mirror of
https://github.com/nasa/trick.git
synced 2024-12-19 05:07:54 +00:00
Default exit confirmation dialog to off
Worst feature ever. Closes #612
This commit is contained in:
parent
ba2df0757e
commit
62f95e784f
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user