Adjust row height to edited striped text

This commit is contained in:
Keith Edmunds 2022-09-30 15:21:13 +01:00
parent 7601c7dc4c
commit 0c37eccb76

View File

@ -406,7 +406,11 @@ class PlaylistTab(QTableWidget):
# change cell again (metadata)
self.cellChanged.disconnect(self._cell_changed)
new_text = self.item(row, column).text()
new_text = self.item(row, column).text().strip()
# Update cell with strip()'d text
self.item(row, column).setText(new_text)
track_id = self._get_row_track_id(row)
# Determin cell type changed