aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net/sourceforge/jnlp/controlpanel
diff options
context:
space:
mode:
authorOmair Majid <[email protected]>2011-02-09 10:02:46 -0500
committerOmair Majid <[email protected]>2011-02-09 10:02:46 -0500
commitcc560de201dfd48cde4d895c82dfc50316b33dd9 (patch)
treec2a65759bb0d98a39c9aedc7ca73e3d8e0fc8ce7 /netx/net/sourceforge/jnlp/controlpanel
parenta921e916cf72781d03f4f32b8b4733340d441975 (diff)
Fix bug where proxy settings in itweb-settings were being lost
2011-02-09 Omair Majid <[email protected]> * netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java (addComponents): Fix the listener attached to the port field to update the right config option.
Diffstat (limited to 'netx/net/sourceforge/jnlp/controlpanel')
-rw-r--r--netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java b/netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java
index e4cf408..90dfe5d 100644
--- a/netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java
+++ b/netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java
@@ -114,7 +114,7 @@ public class NetworkSettingsPanel extends JPanel implements ActionListener {
addressField.getDocument().addDocumentListener(new DocumentAdapter(config, properties[1]));
final JTextField portField = new JTextField(config.getProperty(properties[2]), 3);
- portField.getDocument().addDocumentListener(new DocumentAdapter(config, properties[1]));
+ portField.getDocument().addDocumentListener(new DocumentAdapter(config, properties[2]));
// Create the button which allows setting of other types of proxy.
JButton advancedProxyButton = new JButton(Translator.R("NSAdvanced") + "...");