()
| 70 | self.setCurrentIndex(i) |
| 71 | return |
| 72 | def list_bundle_files(): |
| 73 | bundle_dir = os.path.join(os.getcwd(), 'bundle') |
| 74 | if not os.path.isdir(bundle_dir): |
| 75 | return [] |
| 76 | return [f for f in os.listdir(bundle_dir) if os.path.isfile(os.path.join(bundle_dir, f))] |
| 77 | |
| 78 | class BundleComboBox(QComboBox): |
| 79 | def __init__(self, parent=None): |