mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
fix
This commit is contained in:
parent
57b14d8040
commit
43d59e7127
@ -2600,24 +2600,27 @@ def getalistname(parent, callback, skipid=False, skipidid=None):
|
|||||||
uid = __uid[__d["k"]]
|
uid = __uid[__d["k"]]
|
||||||
callback(uid)
|
callback(uid)
|
||||||
|
|
||||||
autoinitdialog(
|
if len(__uid) > 1:
|
||||||
parent,
|
autoinitdialog(
|
||||||
_TR("目标"),
|
parent,
|
||||||
600,
|
_TR("目标"),
|
||||||
[
|
600,
|
||||||
{
|
[
|
||||||
"type": "combo",
|
{
|
||||||
"name": _TR("目标"),
|
"type": "combo",
|
||||||
"d": __d,
|
"name": _TR("目标"),
|
||||||
"k": "k",
|
"d": __d,
|
||||||
"list": __vis,
|
"k": "k",
|
||||||
},
|
"list": __vis,
|
||||||
{
|
},
|
||||||
"type": "okcancel",
|
{
|
||||||
"callback": functools.partial(__wrap, callback, __d, __uid),
|
"type": "okcancel",
|
||||||
},
|
"callback": functools.partial(__wrap, callback, __d, __uid),
|
||||||
],
|
},
|
||||||
)
|
],
|
||||||
|
)
|
||||||
|
else:
|
||||||
|
callback(__uid[0])
|
||||||
|
|
||||||
|
|
||||||
class dialog_savedgame_v3(QWidget):
|
class dialog_savedgame_v3(QWidget):
|
||||||
@ -2910,7 +2913,7 @@ class dialog_savedgame_v3(QWidget):
|
|||||||
"opened": True,
|
"opened": True,
|
||||||
}
|
}
|
||||||
savegametaged.insert(i, tag)
|
savegametaged.insert(i, tag)
|
||||||
group0 = self.createtaglist(title, tag["uid"], True)
|
group0 = self.createtaglist(self.stack, title, tag["uid"], True)
|
||||||
self.stack.insertw(i, group0)
|
self.stack.insertw(i, group0)
|
||||||
elif action == editname:
|
elif action == editname:
|
||||||
self.stack.w(i).settitle(title)
|
self.stack.w(i).settitle(title)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user