[AddonManager] Set default filter to ANY package type

This commit is contained in:
Frank Martinez
2024-10-03 02:25:11 +00:00
committed by Chris Hennes
parent c6e4f8a946
commit 6c66acacf9
2 changed files with 2 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ class PackageList(QtWidgets.QWidget):
# Set up the view the same as the last time:
pref = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Addons")
package_type = pref.GetInt("PackageTypeSelection", 1)
package_type = pref.GetInt("PackageTypeSelection", 0)
status = pref.GetInt("StatusSelection", 0)
search_string = pref.GetString("SearchString", "")
self.ui.view_bar.filter_selector.set_contents_filter(package_type)