fixed client proxy settings

This commit is contained in:
BetaSteward 2011-09-09 23:07:55 -04:00
parent cdd0ba6d0c
commit d512fc1021
3 changed files with 13 additions and 4 deletions

View file

@ -414,7 +414,7 @@ public class DownloadPictures extends DefaultBoundedRangeModel implements Runnab
default: p = Proxy.NO_PROXY; break;
}
if (!p.equals(Proxy.NO_PROXY)) {
if (type != Proxy.Type.DIRECT) {
try {
String address = PreferencesDialog.getCachedValue(PreferencesDialog.KEY_PROXY_ADDRESS, "");
Integer port = Integer.parseInt(PreferencesDialog.getCachedValue(PreferencesDialog.KEY_PROXY_PORT, "80"));