diff options
author | rowanbeentje <rowan@beent.je> | 2009-09-02 22:58:09 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2009-09-02 22:58:09 +0000 |
commit | 558a543e667d17b624b921317177710fd2407ba6 (patch) | |
tree | 7c9fa140f1694b7f8977cb0e2dc37e98ea8481ba /Source/SPNarrowDownCompletion.m | |
parent | e1a704e83e3ac77f01847f532072bb75232430e4 (diff) | |
download | sequelpro-558a543e667d17b624b921317177710fd2407ba6.tar.gz sequelpro-558a543e667d17b624b921317177710fd2407ba6.tar.bz2 sequelpro-558a543e667d17b624b921317177710fd2407ba6.zip |
- Replaces uses of the deprecated selectRow:byExtendingSelection: with selectRowIndexes:byExtendingSelection:
Diffstat (limited to 'Source/SPNarrowDownCompletion.m')
-rw-r--r-- | Source/SPNarrowDownCompletion.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPNarrowDownCompletion.m b/Source/SPNarrowDownCompletion.m index 729e9e6d..27850bae 100644 --- a/Source/SPNarrowDownCompletion.m +++ b/Source/SPNarrowDownCompletion.m @@ -63,7 +63,7 @@ if(keyCode == key_movements[i].key) { int row = MAX(0, MIN([self selectedRow] + key_movements[i].rows, [self numberOfRows]-1)); - [self selectRow:row byExtendingSelection:NO]; + [self selectRowIndexes:[NSIndexSet indexSetWithIndex:row] byExtendingSelection:NO]; [self scrollRowToVisible:row]; return YES; |