Fix error after editing multi-valued tag

This commit is contained in:
Michael Wiencek
2011-12-19 04:00:07 -06:00
parent fb364417a3
commit ac2e9e55a7

View File

@@ -346,7 +346,7 @@ class MetadataBox(QtGui.QTableWidget):
values = self.new_tags[tag]
if len(values) == 1 and len(values[0]) > 1:
# The tag editor dialog already updated self.new_tags
value = values[0]
value = list(values[0])
else:
value = unicode(item.text())
new_values = self.new_tags[tag] = [(value,)]