JAL-2366 Removed unneeded setEnabled calls
authorkiramt <k.mourao@dundee.ac.uk>
Fri, 27 Jan 2017 09:52:40 +0000 (09:52 +0000)
committerkiramt <k.mourao@dundee.ac.uk>
Fri, 27 Jan 2017 09:52:40 +0000 (09:52 +0000)
src/jalview/gui/Preferences.java

index a61279a..0903942 100755 (executable)
@@ -459,8 +459,6 @@ public class Preferences extends GPreferences
 
     useProxy.setSelected(Cache.getDefault("USE_PROXY", false));
     useProxy_actionPerformed(); // make sure useProxy is correctly initialised
-    proxyServerTB.setEnabled(useProxy.isSelected());
-    proxyPortTB.setEnabled(useProxy.isSelected());
     proxyServerTB.setText(Cache.getDefault("PROXY_SERVER", ""));
     proxyPortTB.setText(Cache.getDefault("PROXY_PORT", ""));