From 9fce9e0060333a460e5b8c2e8a99e96ef012fcd1 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, 2 Aug 2024 18:03:17 +0800 Subject: [PATCH] fix --- LunaTranslator/LunaTranslator/gui/translatorUI.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/LunaTranslator/LunaTranslator/gui/translatorUI.py b/LunaTranslator/LunaTranslator/gui/translatorUI.py index 94926392..3a15e03c 100644 --- a/LunaTranslator/LunaTranslator/gui/translatorUI.py +++ b/LunaTranslator/LunaTranslator/gui/translatorUI.py @@ -621,7 +621,8 @@ class QUnFrameWindow(resizableframeless): super(QUnFrameWindow, self).__init__( None, flags=Qt.WindowType.FramelessWindowHint - | Qt.WindowType.WindowMinimizeButtonHint, + | Qt.WindowType.WindowMinimizeButtonHint + | Qt.WindowType.Tool, poslist=globalconfig["transuigeo"], ) # 设置为顶级窗口,无边框 icon = getExeIcon(sys.argv[0]) #'./LunaTranslator.exe')# QIcon()