disable action buttons on filter manager when reloading data

This commit is contained in:
Manuel Cortez 2025-03-07 13:05:37 -06:00
parent 9ff772f098
commit b37edc3712

View File

@ -43,6 +43,7 @@ class ManageFiltersController(object):
try: try:
filters = self.session.api.filters_v2() filters = self.session.api.filters_v2()
self.dialog.filter_list.DeleteAllItems() self.dialog.filter_list.DeleteAllItems()
self.on_filter_deselected(None)
for i, filter_obj in enumerate(filters): for i, filter_obj in enumerate(filters):
index = self.dialog.filter_list.InsertItem(i, filter_obj.title) index = self.dialog.filter_list.InsertItem(i, filter_obj.title)
keyword_count = len(filter_obj.keywords) keyword_count = len(filter_obj.keywords)