aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CustomQuery.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-09-02 22:58:09 +0000
committerrowanbeentje <rowan@beent.je>2009-09-02 22:58:09 +0000
commit558a543e667d17b624b921317177710fd2407ba6 (patch)
tree7c9fa140f1694b7f8977cb0e2dc37e98ea8481ba /Source/CustomQuery.m
parente1a704e83e3ac77f01847f532072bb75232430e4 (diff)
downloadsequelpro-558a543e667d17b624b921317177710fd2407ba6.tar.gz
sequelpro-558a543e667d17b624b921317177710fd2407ba6.tar.bz2
sequelpro-558a543e667d17b624b921317177710fd2407ba6.zip
- Replaces uses of the deprecated selectRow:byExtendingSelection: with selectRowIndexes:byExtendingSelection:
Diffstat (limited to 'Source/CustomQuery.m')
-rw-r--r--Source/CustomQuery.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CustomQuery.m b/Source/CustomQuery.m
index 441144aa..8b8a8968 100644
--- a/Source/CustomQuery.m
+++ b/Source/CustomQuery.m
@@ -1546,7 +1546,7 @@
[queryFavorites insertObject:draggedRow atIndex:destinationRow];
[queryFavoritesView reloadData];
- [queryFavoritesView selectRow:destinationRow byExtendingSelection:NO];
+ [queryFavoritesView selectRowIndexes:[NSIndexSet indexSetWithIndex:destinationRow] byExtendingSelection:NO];
return YES;
} else {