mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-28 08:04:13 +08:00
fix
This commit is contained in:
parent
7504032513
commit
72b9653aed
@ -1929,6 +1929,8 @@ class listediter(LDialog):
|
|||||||
self.closecallback()
|
self.closecallback()
|
||||||
|
|
||||||
def __cb(self, paths):
|
def __cb(self, paths):
|
||||||
|
if isinstance(paths, str):
|
||||||
|
paths = [paths]
|
||||||
for path in paths:
|
for path in paths:
|
||||||
self.internalrealname.insert(0, path)
|
self.internalrealname.insert(0, path)
|
||||||
self.hcmodel.insertRow(0, [QStandardItem(path)])
|
self.hcmodel.insertRow(0, [QStandardItem(path)])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user