From 0a69b984df7dd927fb222b7995792b1bc402130f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <101191390+HIllya51@users.noreply.github.com> Date: Fri, 21 Jun 2024 22:04:52 +0800 Subject: [PATCH] top --- LunaTranslator/LunaTranslator/LunaTranslator.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/LunaTranslator/LunaTranslator/LunaTranslator.py b/LunaTranslator/LunaTranslator/LunaTranslator.py index 468aaee1..f7abebf5 100644 --- a/LunaTranslator/LunaTranslator/LunaTranslator.py +++ b/LunaTranslator/LunaTranslator/LunaTranslator.py @@ -702,6 +702,8 @@ class MAINUI: if sum([int(pid_running(pid)) for pid in pids]) == 0: self.textsource = None self.translation_ui.thistimenotsetop = False + if globalconfig["keepontop"]: + self.translation_ui.settop() except: