Skip to content

Commit

Permalink
[App] select first session in restore window, not second
Browse files Browse the repository at this point in the history
  • Loading branch information
steveatinfincia committed Feb 18, 2017
1 parent bac9ef5 commit 01acea8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -314,7 +314,7 @@ class RestoreSelectionWindowController: NSWindowController {
// select the first row automatically
let count = self.restoreSelectionList!.numberOfRows
if count >= 1 {
let indexSet = IndexSet(integer: 1)
let indexSet = IndexSet(integer: 0)
self.restoreSelectionList!.selectRowIndexes(indexSet, byExtendingSelection: false)
self.restoreSelectionList!.becomeFirstResponder()
}
Expand Down

0 comments on commit 01acea8

Please sign in to comment.