Revert addonManager

This commit is contained in:
mosfet80
2023-03-04 22:21:50 +01:00
committed by Chris Hennes
parent 40229e77fc
commit b0831f994d
4 changed files with 24 additions and 0 deletions

View File

@@ -347,6 +347,16 @@ class PackageDetails(QtWidgets.QWidget):
self.ui.labelWarningInfo.setStyleSheet(
"color:" + utils.warning_color_string()
)
elif repo.python2:
self.ui.labelWarningInfo.show()
self.ui.labelWarningInfo.setText(
"<h1>"
+ translate("AddonsInstaller", "WARNING: This addon is Python 2 Only")
+ "</h1>"
)
self.ui.labelWarningInfo.setStyleSheet(
"color:" + utils.warning_color_string()
)
elif required_version:
self.ui.labelWarningInfo.show()
self.ui.labelWarningInfo.setText(