fix warning dialog

This commit is contained in:
Irmuun
2022-06-20 11:52:27 -07:00
parent 8d908b1562
commit 4a1cd6eaca

View File

@@ -288,7 +288,7 @@ public class ExternalPluginManagerPanel extends PluginPanel
label.setPreferredSize(new Dimension(450, 200));
label.setFont(font);
return JOptionPane.showOptionDialog(new JFrame(),
return JOptionPane.showOptionDialog(ClientUI.getFrame(),
label,
"Account security warning",
JOptionPane.YES_NO_OPTION,