mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-21 04:35:44 +00:00
Fixed: #1670 Parent component/window of dialogs not properly set
This commit is contained in:
@@ -22,6 +22,7 @@ import java.awt.Color;
|
||||
import java.awt.Container;
|
||||
import java.awt.FlowLayout;
|
||||
import java.awt.Font;
|
||||
import java.awt.Window;
|
||||
import java.awt.event.ActionEvent;
|
||||
import java.awt.event.ActionListener;
|
||||
import java.util.ArrayList;
|
||||
@@ -50,7 +51,8 @@ public class AboutDialog extends AppDialog {
|
||||
|
||||
private static final String AUTHOR = "JPEXS";
|
||||
|
||||
public AboutDialog() {
|
||||
public AboutDialog(Window owner) {
|
||||
super(owner);
|
||||
setDefaultCloseOperation(HIDE_ON_CLOSE);
|
||||
setTitle(translate("dialog.title"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user