src/eric7/MicroPython/Devices/CircuitPythonUpdater/CircuitPythonUpdaterInterface.py

branch
eric7
changeset 11006
a671918232f3
parent 11005
b918c6c2736b
child 11011
f1f1c8d0255d
equal deleted inserted replaced
11005:b918c6c2736b 11006:a671918232f3
269 dlg = EricListSelectionDialog( 269 dlg = EricListSelectionDialog(
270 sorted(localBundles), 270 sorted(localBundles),
271 title=self.tr("Remove Bundles"), 271 title=self.tr("Remove Bundles"),
272 message=self.tr("Select the bundles to be removed:"), 272 message=self.tr("Select the bundles to be removed:"),
273 checkBoxSelection=True, 273 checkBoxSelection=True,
274 parent=self.__device.microPython,
274 ) 275 )
275 modified = False 276 modified = False
276 if dlg.exec() == QDialog.DialogCode.Accepted: 277 if dlg.exec() == QDialog.DialogCode.Accepted:
277 bundles = dlg.getSelection() 278 bundles = dlg.getSelection()
278 for bundle in bundles: 279 for bundle in bundles:
631 dlg = EricListSelectionDialog( 632 dlg = EricListSelectionDialog(
632 sorted(modNames), 633 sorted(modNames),
633 title=self.tr("Uninstall Modules"), 634 title=self.tr("Uninstall Modules"),
634 message=self.tr("Select the modules/packages to be uninstalled:"), 635 message=self.tr("Select the modules/packages to be uninstalled:"),
635 checkBoxSelection=True, 636 checkBoxSelection=True,
637 parent=self.__device.microPython,
636 ) 638 )
637 if dlg.exec() == QDialog.DialogCode.Accepted: 639 if dlg.exec() == QDialog.DialogCode.Accepted:
638 names = dlg.getSelection() 640 names = dlg.getSelection()
639 for name in names: 641 for name in names:
640 modulePath = modNames[name]["path"] 642 modulePath = modNames[name]["path"]

eric ide

mercurial