Fix for file.xhtml/file.xhtml in Editor File Browser when duplicate file names.

This commit is contained in:
Jim Miller 2016-04-17 23:29:36 -05:00
parent e816a0aca1
commit 1460b7a046

View File

@ -312,7 +312,7 @@ class FileList(QTreeWidget):
return
parts = name.split('/')
text = parts[-1]
text = parts.pop()
while text in seen and parts:
text = parts.pop() + '/' + text
seen[text] = item