Preferences/ConfigurationPages/NetworkPage.py

changeset 2194
0fce40af66b8
parent 2190
abd65b78425e
child 2302
f29e9405c851
equal deleted inserted replaced
2193:fc37253e4dbd 2194:0fce40af66b8
183 @pyqtSlot(int) 183 @pyqtSlot(int)
184 def on_ftpProxyTypeCombo_currentIndexChanged(self, index): 184 def on_ftpProxyTypeCombo_currentIndexChanged(self, index):
185 """ 185 """
186 Private slot handling the selection of a proxy type. 186 Private slot handling the selection of a proxy type.
187 187
188 @param index index of the selected item (integer) 188 @param index index of the selected item (integer)
189 """ 189 """
190 proxyType = self.ftpProxyTypeCombo.itemData(index) 190 proxyType = self.ftpProxyTypeCombo.itemData(index)
191 self.ftpProxyHostEdit.setEnabled(proxyType != E5FtpProxyType.NoProxy) 191 self.ftpProxyHostEdit.setEnabled(proxyType != E5FtpProxyType.NoProxy)
192 self.ftpProxyPortSpin.setEnabled(proxyType != E5FtpProxyType.NoProxy) 192 self.ftpProxyPortSpin.setEnabled(proxyType != E5FtpProxyType.NoProxy)
193 self.ftpProxyUserEdit.setEnabled( 193 self.ftpProxyUserEdit.setEnabled(

eric ide

mercurial