5178 if len(pkglists) == 1: |
5178 if len(pkglists) == 1: |
5179 selectedLists = [os.path.join(self.ppath, pkglists[0])] |
5179 selectedLists = [os.path.join(self.ppath, pkglists[0])] |
5180 elif len(pkglists) > 1: |
5180 elif len(pkglists) > 1: |
5181 dlg = E5ListSelectionDialog( |
5181 dlg = E5ListSelectionDialog( |
5182 sorted(pkglists), title=self.tr("Create Plugin Archive"), |
5182 sorted(pkglists), title=self.tr("Create Plugin Archive"), |
5183 message=self.tr("Select package lists:")) |
5183 message=self.tr("Select package lists:"), |
|
5184 checkBoxSelection=True) |
5184 if dlg.exec_() == QDialog.Accepted: |
5185 if dlg.exec_() == QDialog.Accepted: |
5185 selectedLists = [os.path.join(self.ppath, s) |
5186 selectedLists = [os.path.join(self.ppath, s) |
5186 for s in dlg.getSelection()] |
5187 for s in dlg.getSelection()] |
5187 else: |
5188 else: |
5188 return |
5189 return |