mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
fix
This commit is contained in:
parent
0d30981443
commit
474b022b6c
1 changed files with 1 additions and 1 deletions
|
|
@ -368,7 +368,7 @@ public class ConnectDialog extends MageDialog {
|
|||
default: p = Proxy.NO_PROXY; break;
|
||||
}
|
||||
|
||||
if (!p.equals(Proxy.NO_PROXY)) {
|
||||
if (p == null || !p.equals(Proxy.NO_PROXY)) {
|
||||
try {
|
||||
String address = PreferencesDialog.getCachedValue(PreferencesDialog.KEY_PROXY_ADDRESS, "");
|
||||
Integer port = Integer.parseInt(PreferencesDialog.getCachedValue(PreferencesDialog.KEY_PROXY_PORT, "80"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue