Addon Manager: Add branch switching GUI
For users with git and GitPython installed, a new button is added to the details view allowing them to change the branch they are on. Some other minor UI changes are made to accomodate this new behavior.
This commit is contained in:
@@ -353,7 +353,9 @@ class PackageListItemDelegate(QStyledItemDelegate):
|
||||
)
|
||||
elif len(maintainers) > 1:
|
||||
n = len(maintainers)
|
||||
maintainers_string = translate("AddonsInstaller", "Maintainers:", "", n)
|
||||
maintainers_string = translate(
|
||||
"AddonsInstaller", "Maintainers:", "", n
|
||||
)
|
||||
for maintainer in maintainers:
|
||||
maintainers_string += (
|
||||
f"\n{maintainer['name']} <{maintainer['email']}>"
|
||||
|
||||
Reference in New Issue
Block a user