mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-28 08:04:13 +08:00
fix
This commit is contained in:
parent
4c58352f56
commit
b3c12bfc3b
@ -337,11 +337,11 @@ class dialog_setting_game_internal(QWidget):
|
|||||||
if x:
|
if x:
|
||||||
if combo.currentIndex() == 0:
|
if combo.currentIndex() == 0:
|
||||||
combo.setCurrentIndex(idx + 1)
|
combo.setCurrentIndex(idx + 1)
|
||||||
combo.setRowVisible(idx + 1, True)
|
combo.setRowVisible(idx + 1, True)
|
||||||
else:
|
else:
|
||||||
if combo.currentIndex() == idx + 1:
|
if combo.currentIndex() == idx + 1:
|
||||||
combo.setCurrentIndex(0)
|
combo.setCurrentIndex(0)
|
||||||
combo.setRowVisible(idx + 1, False)
|
combo.setRowVisible(idx + 1, False)
|
||||||
|
|
||||||
for i, key in enumerate(targetmod):
|
for i, key in enumerate(targetmod):
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user