Fixed: #1670 Parent component/window of dialogs not properly set

This commit is contained in:
Jindra Petřík
2021-03-27 09:11:00 +01:00
parent b5aee8412b
commit a7989d2d02
45 changed files with 351 additions and 253 deletions

View File

@@ -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);