mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix for file.xhtml/file.xhtml in Editor File Browser when duplicate file names.
This commit is contained in:
parent
e816a0aca1
commit
1460b7a046
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user