Addon Manager: Add note about Other... deps

This commit is contained in:
Chris Hennes
2022-09-09 12:54:43 -05:00
parent 06dda1fda2
commit 9f76d96bb3
2 changed files with 24 additions and 1 deletions

View File

@@ -532,6 +532,9 @@ class EditDependency:
# Expect mostly Python dependencies...
self.dialog.typeComboBox.setCurrentIndex(2)
self.dialog.layout().setSizeConstraint(QLayout.SetFixedSize)
def exec(
self, dep_type="", dep_name="", dep_optional=False
) -> Tuple[str, str, bool]:
@@ -618,8 +621,10 @@ class EditDependency:
selection = self.dialog.dependencyComboBox.currentData()
if selection == "other":
self.dialog.lineEdit.show()
self.dialog.otherNote.show()
else:
self.dialog.lineEdit.hide()
self.dialog.otherNote.hide()
class EditFreeCADVersions: