File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ def __init__(self, library):
3838 self .lib : Library = library
3939 # self.callback = callback
4040 self .first_tag_id = None
41- self .tag_limit = 30
41+ self .tag_limit = 100
4242 # self.selected_tag: int = 0
4343 self .setMinimumSize (300 , 400 )
4444 self .root_layout = QVBoxLayout (self )
@@ -107,9 +107,7 @@ def update_tags(self, query: str = ""):
107107 # logging.info(f"I'm deleting { self.scroll_layout.itemAt(0).widget()}")
108108 self .scroll_layout .takeAt (0 ).widget ().deleteLater ()
109109
110- found_tags = self .lib .search_tags (query , include_cluster = True )[
111- : self .tag_limit - 1
112- ]
110+ found_tags = self .lib .search_tags (query , include_cluster = True )[: self .tag_limit ]
113111 self .first_tag_id = found_tags [0 ] if found_tags else None
114112
115113 for tag_id in found_tags :
You can’t perform that action at this time.
0 commit comments