Addon Manager: Add <bundle> and <other>

This commit is contained in:
Chris Hennes
2025-02-22 22:03:32 -06:00
parent b021e39c54
commit 61c02090be
11 changed files with 109 additions and 23 deletions

View File

@@ -69,6 +69,8 @@ class ContentFilter(IntEnum):
WORKBENCH = 1
MACRO = 2
PREFERENCE_PACK = 3
BUNDLE = 4
OTHER = 5
class Filter:
@@ -116,6 +118,14 @@ class WidgetFilterSelector(QtWidgets.QComboBox):
translate("AddonsInstaller", "Preference Pack"),
(FilterType.PACKAGE_CONTENTS, ContentFilter.PREFERENCE_PACK),
)
self.addItem(
translate("AddonsInstaller", "Bundle"),
(FilterType.PACKAGE_CONTENTS, ContentFilter.BUNDLE),
)
self.addItem(
translate("AddonsInstaller", "Other"),
(FilterType.PACKAGE_CONTENTS, ContentFilter.OTHER),
)
self.insertSeparator(self.count())
self.addItem(translate("AddonsInstaller", "Installation Status"))
self.installation_status_index = self.count() - 1