Fix a bug in parsing orphaned file names
This commit is contained in:
+1
-1
@@ -1397,7 +1397,7 @@ class NWProject():
|
||||
|
||||
if oName:
|
||||
oName = self.tr("[{0}] {1}").format(
|
||||
oPrefix, oName.strip("[%s]" % oPrefix).strip()
|
||||
oPrefix, oName.replace("[%s]" % oPrefix, "").strip()
|
||||
)
|
||||
else:
|
||||
nOrph += 1
|
||||
|
||||
Reference in New Issue
Block a user