mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
fix
This commit is contained in:
parent
1077a49e37
commit
76bee2443a
@ -362,6 +362,7 @@ class texthook(basetext):
|
||||
while (not self.ending) and (len(self.pids) == 0):
|
||||
try:
|
||||
hwnd = windows.GetForegroundWindow()
|
||||
hwnd = windows.GetAncestor(hwnd)
|
||||
if self.connecthwnd(hwnd):
|
||||
break
|
||||
except:
|
||||
|
Loading…
x
Reference in New Issue
Block a user