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"] |