mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-30 14:18:38 +00:00
Fixed: #1670 Parent component/window of dialogs not properly set
This commit is contained in:
@@ -51,6 +51,7 @@ import java.awt.BorderLayout;
|
||||
import java.awt.Container;
|
||||
import java.awt.Dimension;
|
||||
import java.awt.FlowLayout;
|
||||
import java.awt.Window;
|
||||
import java.awt.event.ActionEvent;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
@@ -199,7 +200,8 @@ public class ExportDialog extends AppDialog {
|
||||
return false;
|
||||
}
|
||||
|
||||
public ExportDialog(List<TreeItem> exportables) {
|
||||
public ExportDialog(Window owner, List<TreeItem> exportables) {
|
||||
super(owner);
|
||||
setTitle(translate("dialog.title"));
|
||||
setResizable(false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user