Fixed setDisposeNormally() ignoring the argument

Calling ManagerFrame.setDisposeNormally() would always set the `disposeNormally` variable to false, regardless of the argument value.
This commit is contained in:
Tomasz Bachmiński 2018-03-06 23:32:26 +01:00 committed by GitHub
parent 19233266d0
commit d89e53656e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1065,7 +1065,7 @@ public class ManagerFrame extends JFrame implements ActionListener, ModsScanObse
* Set this to false before an abnormal exit. * Set this to false before an abnormal exit.
*/ */
public void setDisposeNormally( boolean b ) { public void setDisposeNormally( boolean b ) {
disposeNormally = false; disposeNormally = b;
} }
@Override @Override