PICARD-1911: Update tree view on tag deletion

Without this deleted tags are not immediately reflected in the list views.
This commit is contained in:
Philipp Wolfer
2020-08-13 12:56:18 +02:00
parent 6aea0c068f
commit 87abc13f60

View File

@@ -412,6 +412,7 @@ class MetadataBox(QtWidgets.QTableWidget):
if not values and self.tag_is_removable(tag):
for obj in objects:
del obj.metadata[tag]
obj.update()
elif values:
for obj in objects:
obj.metadata[tag] = values