mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-27 15:44:12 +08:00
Update selecthook.py
This commit is contained in:
parent
2bccff08dc
commit
f82eab694b
@ -585,7 +585,7 @@ class hookselect(closeashidewindow):
|
||||
ishide=True
|
||||
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
|
||||
break
|
||||
self.tttable.setRowHidden(index,ishide)
|
||||
|
Loading…
x
Reference in New Issue
Block a user