aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2012-10-09 00:35:20 +0000
committerrowanbeentje <rowan@beent.je>2012-10-09 00:35:20 +0000
commitbab9704df5bf5fa2412ff6fd47cb71f5ddd6c23c (patch)
tree73d34e9e9cabe4d13b9ee282936f7ffd18eb81ab
parent3bfd9431190fef1aa0e15fd0b80d775b6314e9cd (diff)
downloadsequelpro-bab9704df5bf5fa2412ff6fd47cb71f5ddd6c23c.tar.gz
sequelpro-bab9704df5bf5fa2412ff6fd47cb71f5ddd6c23c.tar.bz2
sequelpro-bab9704df5bf5fa2412ff6fd47cb71f5ddd6c23c.zip
- Connection interface: if dragging items into a node, ensure that node is expanded so the selection is correctly preserved (thanks to schlabberdog for extensive testing!)
-rw-r--r--Source/SPConnectionControllerDelegate.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/SPConnectionControllerDelegate.m b/Source/SPConnectionControllerDelegate.m
index 96414cc0..38137b1b 100644
--- a/Source/SPConnectionControllerDelegate.m
+++ b/Source/SPConnectionControllerDelegate.m
@@ -360,6 +360,7 @@ static NSString *SPQuickConnectImageWhite = @"quick-connect-icon-white.pdf";
if (childIndex == NSOutlineViewDropOnItemIndex) {
childIndex = 0;
}
+ [outlineView expandItem:node];
}
else {
if (childIndex == NSOutlineViewDropOnItemIndex) {