fix: remove scrollToItem that was overriding saved scroll position

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-13 23:41:19 +02:00
parent 97986d5138
commit 04e78eb355
-2
View File
@@ -1584,8 +1584,6 @@ class PlaylistWidget(QListWidget):
else:
tag = ""
item.setText(f"{tag}{os.path.basename(self._paths[row])}")
# If the item is off-screen, scroll just enough to show it.
self.scrollToItem(item, QListWidget.ScrollHint.EnsureVisible)
self.file_selected.emit(self._paths[row])
def _refresh_item_text(self, row: int) -> None: