fix: hide-exported checkbox state applied on session resume

_apply_playlist_filters now syncs _hide_exported from checkbox before
refreshing visibility, so exported files are hidden immediately on
startup without needing to toggle the checkbox.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-13 17:03:08 +02:00
parent 9696b94b0c
commit d031d6c285
+1
View File
@@ -2178,6 +2178,7 @@ class MainWindow(QMainWindow):
def _apply_playlist_filters(self) -> None: def _apply_playlist_filters(self) -> None:
"""Apply profile-hidden files, export marks, and hide-exported filter.""" """Apply profile-hidden files, export marks, and hide-exported filter."""
self._refresh_playlist_checks() self._refresh_playlist_checks()
self._playlist._hide_exported = self._chk_hide_exported.isChecked()
self._playlist.set_hidden_basenames(self._db.get_hidden_files(self._profile)) self._playlist.set_hidden_basenames(self._db.get_hidden_files(self._profile))
def _on_open_files(self) -> None: def _on_open_files(self) -> None: