mirror of
https://github.com/khoj-ai/khoj.git
synced 2025-02-17 08:04:21 +00:00
Fix: don't try to render the search_type.ALL
This commit is contained in:
parent
f0f6390366
commit
7db97d8aa9
1 changed files with 2 additions and 0 deletions
|
@ -58,6 +58,8 @@ class MainWindow(QtWidgets.QMainWindow):
|
|||
# Add Settings Panels for each Search Type to Configure Window Layout
|
||||
self.search_settings_panels = []
|
||||
for search_type in SearchType:
|
||||
if search_type == SearchType.All:
|
||||
continue
|
||||
current_content_config = self.current_config["content-type"].get(
|
||||
search_type, None
|
||||
) or self.get_default_config(search_type=search_type)
|
||||
|
|
Loading…
Add table
Reference in a new issue