mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
fix
This commit is contained in:
parent
2ea364c93d
commit
4478e1a6fc
@ -218,11 +218,15 @@ class searchhookparam(LDialog):
|
|||||||
|
|
||||||
layout1 = QHBoxLayout()
|
layout1 = QHBoxLayout()
|
||||||
layout1.addWidget(LLabel("代码页"))
|
layout1.addWidget(LLabel("代码页"))
|
||||||
self.codepagesave = {
|
if savehook_new_data[gobject.baseobject.textsource.gameuid][
|
||||||
"spcp": savehook_new_data[gobject.baseobject.textsource.gameuid].get(
|
"hooksetting_follow_default"
|
||||||
"codepage_index", globalconfig["codepage_index"]
|
]:
|
||||||
)
|
cp = globalconfig["codepage_index"]
|
||||||
}
|
else:
|
||||||
|
cp = savehook_new_data[gobject.baseobject.textsource.gameuid][
|
||||||
|
"hooksetting_private"
|
||||||
|
].get("codepage_index", globalconfig["codepage_index"])
|
||||||
|
self.codepagesave = {"spcp": cp}
|
||||||
layout1.addWidget(
|
layout1.addWidget(
|
||||||
getsimplecombobox(
|
getsimplecombobox(
|
||||||
static_data["codepage_display"], self.codepagesave, "spcp"
|
static_data["codepage_display"], self.codepagesave, "spcp"
|
||||||
|
@ -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 11)
|
set(VERSION_PATCH 12)
|
||||||
|
|
||||||
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