From 1edf0da3192ee7df147bc9722f5368d878b589dc Mon Sep 17 00:00:00 2001 From: aplq Date: Sun, 17 Dec 2023 12:35:56 -0800 Subject: [PATCH] FPGA window close buttons fix --- .../cburch/logisim/fpga/gui/FpgaIoInformationSettingsDialog.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/cburch/logisim/fpga/gui/FpgaIoInformationSettingsDialog.java b/src/main/java/com/cburch/logisim/fpga/gui/FpgaIoInformationSettingsDialog.java index 17f9510e9..a8fe184d7 100644 --- a/src/main/java/com/cburch/logisim/fpga/gui/FpgaIoInformationSettingsDialog.java +++ b/src/main/java/com/cburch/logisim/fpga/gui/FpgaIoInformationSettingsDialog.java @@ -725,6 +725,7 @@ public void windowClosing(WindowEvent e) { selWindow.pack(); selWindow.setLocationRelativeTo(IOcomps.getParentFrame()); selWindow.setModal(true); + selWindow.setDefaultCloseOperation(JDialog.DO_NOTHING_ON_CLOSE); selWindow.setAlwaysOnTop(true); abort = false; while (!abort) {