src/eric7/MicroPython/MicroPythonWebreplUrlAddEditDialog.py

branch
eric7
changeset 10019
e56089d00750
parent 10010
8a68a7a7ab88
child 10439
21c28b0f9e41
equal deleted inserted replaced
10018:53315c3db26b 10019:e56089d00750
73 host, port = hostPort.split(":", 1) if ":" in hostPort else (hostPort, "") 73 host, port = hostPort.split(":", 1) if ":" in hostPort else (hostPort, "")
74 self.hostEdit.setText(host) 74 self.hostEdit.setText(host)
75 self.portEdit.setText(port) 75 self.portEdit.setText(port)
76 self.passwordEdit.setText(password) 76 self.passwordEdit.setText(password)
77 77
78 typeIndex = self.deviceTypeComboBox.findData(params["device_type"]) 78 typeIndex = self.deviceTypeComboBox.findData(params[3])
79 self.deviceTypeComboBox.setCurrentIndex(typeIndex) 79 self.deviceTypeComboBox.setCurrentIndex(typeIndex)
80 80
81 @pyqtSlot() 81 @pyqtSlot()
82 def __updateOkButton(self): 82 def __updateOkButton(self):
83 """ 83 """

eric ide

mercurial