mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
fix
This commit is contained in:
parent
f89527a97f
commit
90be2e1b6a
@ -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"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user