eric7/MicroPython/MicroPythonWidget.py

branch
eric7
changeset 8366
2a9f5153c438
parent 8358
144a6b854f70
child 8604
d25390ea2f19
equal deleted inserted replaced
8365:cde9bde830ea 8366:2a9f5153c438
1781 @type list of tuple of (int, int, str) 1781 @type list of tuple of (int, int, str)
1782 """ 1782 """
1783 from .AddEditDevicesDialog import AddEditDevicesDialog 1783 from .AddEditDevicesDialog import AddEditDevicesDialog
1784 1784
1785 if len(devices) > 1: 1785 if len(devices) > 1:
1786 from EricWidgets.EricListSelectionDialog import EricListSelectionDialog 1786 from EricWidgets.EricListSelectionDialog import (
1787 EricListSelectionDialog
1788 )
1787 sdlg = EricListSelectionDialog( 1789 sdlg = EricListSelectionDialog(
1788 [d[2] for d in devices], 1790 [d[2] for d in devices],
1789 title=self.tr("Add Unknown Devices"), 1791 title=self.tr("Add Unknown Devices"),
1790 message=self.tr("Select the devices to be added:"), 1792 message=self.tr("Select the devices to be added:"),
1791 checkBoxSelection=True 1793 checkBoxSelection=True

eric ide

mercurial