diff --git a/Mage.Client/src/main/java/mage/client/MageFrame.java b/Mage.Client/src/main/java/mage/client/MageFrame.java index 8e8636a36e..12173e1798 100644 --- a/Mage.Client/src/main/java/mage/client/MageFrame.java +++ b/Mage.Client/src/main/java/mage/client/MageFrame.java @@ -623,7 +623,7 @@ public class MageFrame extends javax.swing.JFrame implements MageClient { btnExit = new javax.swing.JButton(); lblStatus = new javax.swing.JLabel(); - setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); + setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE); setMinimumSize(new Dimension(600, 400)); desktopPane.setBackground(new java.awt.Color(204, 204, 204));