mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
fix
This commit is contained in:
parent
5b7cecd760
commit
d0ae9e6eb5
@ -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()
|
||||||
|
@ -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):
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user