@@ -4109,10 +4109,8 @@ def __init__(self, parent):
41094109 self .ui .checkBoxSocksListen .setEnabled (False )
41104110 elif str (BMConfigParser ().get ('bitmessagesettings' , 'socksproxytype' )) == 'SOCKS4a' :
41114111 self .ui .comboBoxProxyType .setCurrentIndex (1 )
4112- self .ui .lineEditTCPPort .setEnabled (False )
41134112 elif str (BMConfigParser ().get ('bitmessagesettings' , 'socksproxytype' )) == 'SOCKS5' :
41144113 self .ui .comboBoxProxyType .setCurrentIndex (2 )
4115- self .ui .lineEditTCPPort .setEnabled (False )
41164114
41174115 self .ui .lineEditSocksHostname .setText (str (
41184116 BMConfigParser ().get ('bitmessagesettings' , 'sockshostname' )))
@@ -4221,7 +4219,6 @@ def comboBoxProxyTypeChanged(self, comboBoxIndex):
42214219 self .ui .lineEditSocksPassword .setEnabled (False )
42224220 self .ui .checkBoxAuthentication .setEnabled (False )
42234221 self .ui .checkBoxSocksListen .setEnabled (False )
4224- self .ui .lineEditTCPPort .setEnabled (True )
42254222 elif comboBoxIndex == 1 or comboBoxIndex == 2 :
42264223 self .ui .lineEditSocksHostname .setEnabled (True )
42274224 self .ui .lineEditSocksPort .setEnabled (True )
@@ -4230,7 +4227,6 @@ def comboBoxProxyTypeChanged(self, comboBoxIndex):
42304227 if self .ui .checkBoxAuthentication .isChecked ():
42314228 self .ui .lineEditSocksUsername .setEnabled (True )
42324229 self .ui .lineEditSocksPassword .setEnabled (True )
4233- self .ui .lineEditTCPPort .setEnabled (False )
42344230
42354231 # Check status of namecoin integration radio buttons and translate
42364232 # it to a string as in the options.
0 commit comments