Better preserve the UI state after an undo
This commit is contained in:
6 files changed
+26
-8
No files matched your search
@@ -159,7 +159,10 @@ class PresetPrefsViewController: NSViewController, SectionsTableViewDataSource,
|
||||
}
|
||||
}
|
||||
|
||||
tableView.selectRowIndexes(rowIndexes, byExtendingSelection: false)
|
||||
let count = presetManager.metadataPresets.count + presetManager.queuePresets.count
|
||||
if let index = rowIndexes.last, index < count {
|
||||
tableView.selectRowIndexes(rowIndexes, byExtendingSelection: false)
|
||||
}
|
||||
}
|
||||
|
||||
@IBAction func editPreset(_ sender: NSView) {
|
||||
|
||||
Reference in new issue
Block a user