Improve selection restoration
This commit is contained in:
1 file changed
+1
-1
@@ -82,7 +82,7 @@ final class TracksViewController: NSViewController, NSTableViewDataSource, NSTab
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if indexes.isEmpty {
|
if indexes.isEmpty && tracksTable.selectedRow == 0 {
|
||||||
indexes.insert(0)
|
indexes.insert(0)
|
||||||
}
|
}
|
||||||
tracksTable.selectRowIndexes(indexes, byExtendingSelection: false)
|
tracksTable.selectRowIndexes(indexes, byExtendingSelection: false)
|
||||||
|
|||||||
Reference in new issue
Block a user