This commit is contained in:
恍兮惚兮 2024-12-30 19:13:03 +08:00
parent 6f46f71cdf
commit 6cb9db3703
2 changed files with 3 additions and 3 deletions

View File

@ -95,7 +95,7 @@ class dialog_savedgame_integrated(saveposwindow):
def syssetting(self):
dialog_syssetting(
self.__internal,
type_={0: 1, 1: 2}[globalconfig["gamemanager_integrated_internal_layout"]],
type_=globalconfig["gamemanager_integrated_internal_layout"],
)
def resizeEvent(self, e: QResizeEvent):

View File

@ -384,7 +384,7 @@ class dialog_syssetting(LDialog):
)
formLayout.addRow(SplitLine())
if type_ == 1:
if type_ == 2:
for key, name in [
("itemw", "宽度"),
("itemh", "高度"),
@ -414,7 +414,7 @@ class dialog_syssetting(LDialog):
),
)
elif type_ == 2:
elif type_ == 1:
for key, name in [
("listitemheight", "高度"),
]: