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()