Improve selection restoration

This commit is contained in:
Damiano Galassi committed 2026-10-05 08:07:52 +02:00
1 parent 4c7a26a175
commit b58346eda7
1 file changed
+1 -1
+1 -1
View File
@@ -82,7 +82,7 @@ final class TracksViewController: NSViewController, NSTableViewDataSource, NSTab
}
}
if indexes.isEmpty {
if indexes.isEmpty && tracksTable.selectedRow == 0 {
indexes.insert(0)
}
tracksTable.selectRowIndexes(indexes, byExtendingSelection: false)