From 94e5ad05f647007caa41253340239a5989b349c4 Mon Sep 17 00:00:00 2001 From: Owyn Date: Tue, 5 Nov 2024 13:39:21 +0300 Subject: [PATCH] fix #1131 (#1135) --- src/LunaTranslator/gui/translatorUI.py | 2 ++ 1 file changed, 2 insertions(+) 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: