eric6/MicroPython/AddEditDevicesDialog.py

changeset 8218
7c09585bd960
parent 8143
2c730d5fd177
equal deleted inserted replaced
8217:385f60c94548 8218:7c09585bd960
41 @param deviceData type of the device (defaults to None) 41 @param deviceData type of the device (defaults to None)
42 @type dict (optional) 42 @type dict (optional)
43 @param parent reference to the parent widget (defaults to None) 43 @param parent reference to the parent widget (defaults to None)
44 @type QWidget (optional) 44 @type QWidget (optional)
45 """ 45 """
46 super(AddEditDevicesDialog, self).__init__(parent) 46 super().__init__(parent)
47 self.setupUi(self) 47 self.setupUi(self)
48 48
49 # populate the device type combo box 49 # populate the device type combo box
50 self.deviceTypeComboBox.addItem("", "") 50 self.deviceTypeComboBox.addItem("", "")
51 for board, desc in sorted(getSupportedDevices(), key=lambda x: x[1]): 51 for board, desc in sorted(getSupportedDevices(), key=lambda x: x[1]):

eric ide

mercurial