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( |