diff --git a/LunaTranslator/LunaTranslator/LunaTranslator.py b/LunaTranslator/LunaTranslator/LunaTranslator.py index 9856ec47..5578958f 100644 --- a/LunaTranslator/LunaTranslator/LunaTranslator.py +++ b/LunaTranslator/LunaTranslator/LunaTranslator.py @@ -1194,6 +1194,7 @@ class MAINUI: self.parsedefaultfont() self.loadmetadatas() self.translation_ui = QUnFrameWindow() + winsharedutils.showintab(int(self.translation_ui.winId()), globalconfig["showintab"]) self.translation_ui.show() self.translation_ui.aftershowdosomething() self.mainuiloadafter() diff --git a/LunaTranslator/LunaTranslator/gui/translatorUI.py b/LunaTranslator/LunaTranslator/gui/translatorUI.py index be36cbad..3227707e 100644 --- a/LunaTranslator/LunaTranslator/gui/translatorUI.py +++ b/LunaTranslator/LunaTranslator/gui/translatorUI.py @@ -436,7 +436,6 @@ class QUnFrameWindow(resizableframeless): windows.ShowWindow(int(self.winId()), windows.SW_SHOWNOACTIVATE) else: self.show() - windows.SetForegroundWindow(int(self.winId())) def aftershowdosomething(self): diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index 0e11174c..5024bcc1 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -29,7 +29,7 @@ include(generate_product_version) set(VERSION_MAJOR 5) set(VERSION_MINOR 15) -set(VERSION_PATCH 2) +set(VERSION_PATCH 3) add_library(pch pch.cpp) target_precompile_headers(pch PUBLIC pch.h)