This commit is contained in:
恍兮惚兮 2024-07-21 21:38:21 +08:00
parent 5b7cecd760
commit d0ae9e6eb5
3 changed files with 2 additions and 2 deletions

View File

@ -1194,6 +1194,7 @@ class MAINUI:
self.parsedefaultfont() self.parsedefaultfont()
self.loadmetadatas() self.loadmetadatas()
self.translation_ui = QUnFrameWindow() self.translation_ui = QUnFrameWindow()
winsharedutils.showintab(int(self.translation_ui.winId()), globalconfig["showintab"])
self.translation_ui.show() self.translation_ui.show()
self.translation_ui.aftershowdosomething() self.translation_ui.aftershowdosomething()
self.mainuiloadafter() self.mainuiloadafter()

View File

@ -436,7 +436,6 @@ class QUnFrameWindow(resizableframeless):
windows.ShowWindow(int(self.winId()), windows.SW_SHOWNOACTIVATE) windows.ShowWindow(int(self.winId()), windows.SW_SHOWNOACTIVATE)
else: else:
self.show() self.show()
windows.SetForegroundWindow(int(self.winId()))
def aftershowdosomething(self): def aftershowdosomething(self):

View File

@ -29,7 +29,7 @@ include(generate_product_version)
set(VERSION_MAJOR 5) set(VERSION_MAJOR 5)
set(VERSION_MINOR 15) set(VERSION_MINOR 15)
set(VERSION_PATCH 2) set(VERSION_PATCH 3)
add_library(pch pch.cpp) add_library(pch pch.cpp)
target_precompile_headers(pch PUBLIC pch.h) target_precompile_headers(pch PUBLIC pch.h)