mirror of
https://github.com/SKCraft/Launcher.git
synced 2024-11-24 12:16:28 +01:00
Fixed window icon in FeatureSelectionDialog.
This commit is contained in:
parent
73575a2325
commit
016e14415b
@ -42,8 +42,6 @@ public class FeatureSelectionDialog extends JDialog {
|
||||
setSize(new Dimension(500, 400));
|
||||
setResizable(false);
|
||||
setLocationRelativeTo(owner);
|
||||
|
||||
setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
|
||||
}
|
||||
|
||||
private void initComponents() {
|
||||
|
@ -187,10 +187,7 @@ public class ProgressDialog extends JDialog {
|
||||
public static ProgressDialog getLastDialog() {
|
||||
WeakReference<ProgressDialog> ref = lastDialogRef;
|
||||
if (ref != null) {
|
||||
ProgressDialog dialog = ref.get();
|
||||
if (!dialog.isVisible()) {
|
||||
return dialog;
|
||||
}
|
||||
return ref.get();
|
||||
}
|
||||
|
||||
return null;
|
||||
|
Loading…
Reference in New Issue
Block a user