mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-28 08:04:13 +08:00
parent
a7648e3bbf
commit
94e5ad05f6
@ -1247,6 +1247,8 @@ class TranslatorWindow(resizableframeless):
|
|||||||
self.showhideocrrange()
|
self.showhideocrrange()
|
||||||
if globalconfig["ocrafterrangeselect"]:
|
if globalconfig["ocrafterrangeselect"]:
|
||||||
self.startTranslater()
|
self.startTranslater()
|
||||||
|
if not globalconfig["keepontop"]:
|
||||||
|
windows.SetForegroundWindow(self.winid)
|
||||||
|
|
||||||
def startTranslater(self):
|
def startTranslater(self):
|
||||||
if gobject.baseobject.textsource:
|
if gobject.baseobject.textsource:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user