Update selecthook.py

This commit is contained in:
恍兮惚兮 2024-01-25 20:38:02 +08:00
parent 2bccff08dc
commit f82eab694b

View File

@ -585,7 +585,7 @@ class hookselect(closeashidewindow):
ishide=True ishide=True
for i in range(min(len(gobject.baseobject.textsource.hookdatacollecter[key]),20)): for i in range(min(len(gobject.baseobject.textsource.hookdatacollecter[key]),20)):
if searchtext in [_.replace('\n','') for _ in gobject.baseobject.textsource.hookdatacollecter[key][-i]]: if searchtext in [_.replace('\n','') for _ in gobject.baseobject.textsource.hookdatacollecter[key][-i:]]:
ishide=False ishide=False
break break
self.tttable.setRowHidden(index,ishide) self.tttable.setRowHidden(index,ishide)