mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-14 06:58:36 +00:00
Fixed: #1670 Parent component/window of dialogs not properly set
This commit is contained in:
@@ -22,6 +22,7 @@ import com.jpexs.helpers.Helper;
|
||||
import java.awt.BorderLayout;
|
||||
import java.awt.Container;
|
||||
import java.awt.Dimension;
|
||||
import java.awt.Window;
|
||||
import java.awt.event.WindowAdapter;
|
||||
import java.awt.event.WindowEvent;
|
||||
import java.awt.event.WindowListener;
|
||||
@@ -70,8 +71,8 @@ public class LoadingDialog extends AppDialog {
|
||||
* Constructor
|
||||
*
|
||||
*/
|
||||
public LoadingDialog() {
|
||||
super();
|
||||
public LoadingDialog(Window owner) {
|
||||
super(owner);
|
||||
setResizable(false);
|
||||
setTitle(ApplicationInfo.shortApplicationVerName);
|
||||
Container cntp = getContentPane();
|
||||
|
||||
Reference in New Issue
Block a user