mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-28 08:04:13 +08:00
Update selecthook.py
This commit is contained in:
parent
2bccff08dc
commit
f82eab694b
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user