This commit is contained in:
Owyn 2024-11-05 13:39:21 +03:00 committed by GitHub
parent a7648e3bbf
commit 94e5ad05f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1247,6 +1247,8 @@ class TranslatorWindow(resizableframeless):
self.showhideocrrange()
if globalconfig["ocrafterrangeselect"]:
self.startTranslater()
if not globalconfig["keepontop"]:
windows.SetForegroundWindow(self.winid)
def startTranslater(self):
if gobject.baseobject.textsource: