--- a/src/eric7/MicroPython/MicroPythonWebreplUrlAddEditDialog.py Thu May 04 17:58:52 2023 +0200 +++ b/src/eric7/MicroPython/MicroPythonWebreplUrlAddEditDialog.py Fri May 05 18:16:57 2023 +0200 @@ -75,7 +75,7 @@ self.portEdit.setText(port) self.passwordEdit.setText(password) - typeIndex = self.deviceTypeComboBox.findData(params["device_type"]) + typeIndex = self.deviceTypeComboBox.findData(params[3]) self.deviceTypeComboBox.setCurrentIndex(typeIndex) @pyqtSlot()