diff --git a/src/LunaTranslator/gui/translatorUI.py b/src/LunaTranslator/gui/translatorUI.py index b77a103f..be9ea83c 100644 --- a/src/LunaTranslator/gui/translatorUI.py +++ b/src/LunaTranslator/gui/translatorUI.py @@ -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: