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 |