forked from openlp/openlp
Fix comparison of always unequal unicode and non-unicode string on drag-and-drop.
This commit is contained in:
parent
7ab1538460
commit
aca0a86915
@ -377,7 +377,7 @@ class MediaManagerItem(QtGui.QWidget):
|
|||||||
"""
|
"""
|
||||||
names = []
|
names = []
|
||||||
for count in range(0, self.listView.count()):
|
for count in range(0, self.listView.count()):
|
||||||
names.append(self.listView.item(count).text())
|
names.append(unicode(self.listView.item(count).text()))
|
||||||
newFiles = []
|
newFiles = []
|
||||||
duplicatesFound = False
|
duplicatesFound = False
|
||||||
for file in files:
|
for file in files:
|
||||||
|
Loading…
Reference in New Issue
Block a user