Update plugin_manager.py

This commit is contained in:
Vishal 2024-04-29 20:16:25 +05:30 committed by GitHub
parent c62a56d7dc
commit 6b5aae57ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1926,9 +1926,11 @@ class PluginManagerWindow(bui.Window):
label=('Z - A' if self.selected_alphabet_order == 'z_a' else 'A - Z')
)
filter_text = bui.textwidget(parent=self._root_widget, query=self._filter_widget)
await self.draw_plugin_names(
self.selected_category, search_term=filter_text, refresh=True, order=self.selected_alphabet_order
)
if self.plugin_manager.categories != {}:
if self.plugin_manager.categories['All'] is not None:
await self.draw_plugin_names(
self.selected_category, search_term=filter_text, refresh=True, order=self.selected_alphabet_order
)
def draw_search_bar(self):
search_bar_pos_x = (85 if _uiscale is babase.UIScale.SMALL else