Changeset 995 in josm
- Timestamp:
- 2008-09-19T13:30:07+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/ProxyPreferences.java
r946 r995 41 41 proxyPort.setEnabled(proxyEnable.isSelected()); 42 42 proxyAnonymous.setEnabled(proxyEnable.isSelected()); 43 proxyUser.setEnabled(proxyEnable.isSelected() && proxyAnonymous.isSelected());44 proxyPass.setEnabled(proxyEnable.isSelected() && proxyAnonymous.isSelected());43 proxyUser.setEnabled(proxyEnable.isSelected() && !proxyAnonymous.isSelected()); 44 proxyPass.setEnabled(proxyEnable.isSelected() && !proxyAnonymous.isSelected()); 45 45 } 46 46 }); … … 53 53 proxyAnonymous.addActionListener(new ActionListener(){ 54 54 public void actionPerformed(ActionEvent e) { 55 proxyUser.setEnabled(proxyEnable.isSelected() && proxyAnonymous.isSelected());56 proxyPass.setEnabled(proxyEnable.isSelected() && proxyAnonymous.isSelected());55 proxyUser.setEnabled(proxyEnable.isSelected() && !proxyAnonymous.isSelected()); 56 proxyPass.setEnabled(proxyEnable.isSelected() && !proxyAnonymous.isSelected()); 57 57 } 58 58 });
Note:
See TracChangeset
for help on using the changeset viewer.