feat: auto-enable review mode when clicking a scan result

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-20 11:19:54 +02:00
parent 4d99cf6015
commit 0f6ae88ea6
+2
View File
@@ -4182,6 +4182,8 @@ class MainWindow(QMainWindow):
def _on_scan_seek(self, t: float) -> None: def _on_scan_seek(self, t: float) -> None:
"""Seek player when a scan result row is clicked.""" """Seek player when a scan result row is clicked."""
if self._file_path: if self._file_path:
if not self._btn_scan_mode.isChecked():
self._btn_scan_mode.setChecked(True)
self._cursor = t self._cursor = t
self._mpv.seek(t) self._mpv.seek(t)
self._timeline.set_cursor(t) self._timeline.set_cursor(t)