This commit is contained in:
恍兮惚兮 2024-09-16 13:43:09 +08:00
parent f89527a97f
commit 90be2e1b6a

View File

@ -321,7 +321,7 @@ class AnkiWindow(QWidget):
"端口号", getspinbox(0, 65536, globalconfig["ankiconnect"], "port") "端口号", getspinbox(0, 65536, globalconfig["ankiconnect"], "port")
) )
layout.addRow( layout.addRow(
"ModelName", getlineedit(globalconfig["ankiconnect"], "ModelName5") "ModelName", getlineedit(globalconfig["ankiconnect"], "ModelName6")
) )
layout.addRow( layout.addRow(
@ -657,7 +657,7 @@ class AnkiWindow(QWidget):
autoUpdateModel = globalconfig["ankiconnect"]["autoUpdateModel"] autoUpdateModel = globalconfig["ankiconnect"]["autoUpdateModel"]
allowDuplicate = globalconfig["ankiconnect"]["allowDuplicate"] allowDuplicate = globalconfig["ankiconnect"]["allowDuplicate"]
anki.global_port = globalconfig["ankiconnect"]["port"] anki.global_port = globalconfig["ankiconnect"]["port"]
ModelName = globalconfig["ankiconnect"]["ModelName5"] ModelName = globalconfig["ankiconnect"]["ModelName6"]
try: try:
DeckName = globalconfig["ankiconnect"]["DeckNameS"][ DeckName = globalconfig["ankiconnect"]["DeckNameS"][
globalconfig["ankiconnect"]["DeckName_i"] globalconfig["ankiconnect"]["DeckName_i"]