This commit is contained in:
恍兮惚兮 2024-07-26 21:00:31 +08:00
parent 2ea364c93d
commit 4478e1a6fc
2 changed files with 10 additions and 6 deletions

View File

@ -218,11 +218,15 @@ class searchhookparam(LDialog):
layout1 = QHBoxLayout()
layout1.addWidget(LLabel("代码页"))
self.codepagesave = {
"spcp": savehook_new_data[gobject.baseobject.textsource.gameuid].get(
"codepage_index", globalconfig["codepage_index"]
)
}
if savehook_new_data[gobject.baseobject.textsource.gameuid][
"hooksetting_follow_default"
]:
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(
getsimplecombobox(
static_data["codepage_display"], self.codepagesave, "spcp"

View File

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