mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-25 09:03:59 +00:00
Fix a rare TypeError in the metadatabox
This commit is contained in:
@@ -429,7 +429,8 @@ class MetadataBox(QtGui.QTableWidget):
|
||||
new_item.setFlags(orig_flags if length else new_flags)
|
||||
self.set_item_value(new_item, self.tag_diff.new, name)
|
||||
|
||||
color = self.colors.get(self.tag_status(name), TagStatus.NoChange)
|
||||
color = self.colors.get(self.tag_status(name),
|
||||
self.colors[TagStatus.NoChange])
|
||||
orig_item.setForeground(color)
|
||||
new_item.setForeground(color)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user