mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-15 07:48:29 -04:00
sets correct parent in ATMISP message dialog
This commit is contained in:
parent
c8fec43820
commit
1d20185943
@ -66,7 +66,7 @@ public class ATFDialog extends JDialog {
|
|||||||
public void windowClosed(WindowEvent e) {
|
public void windowClosed(WindowEvent e) {
|
||||||
if (atmisp.isAlive()) {
|
if (atmisp.isAlive()) {
|
||||||
SwingUtilities.invokeLater(() -> {
|
SwingUtilities.invokeLater(() -> {
|
||||||
JOptionPane.showMessageDialog(null,
|
JOptionPane.showMessageDialog(parent,
|
||||||
Lang.get("msg_ATMISPIsStillRunning"));
|
Lang.get("msg_ATMISPIsStillRunning"));
|
||||||
atmisp.terminate();
|
atmisp.terminate();
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user