diff options
author | rowanbeentje <rowan@beent.je> | 2012-08-30 00:28:56 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2012-08-30 00:28:56 +0000 |
commit | 28734c995b3f97d8eb50610cfd6d7ad62697d2cb (patch) | |
tree | 243d4d6e188c3a450d84396395dd101cc3569ca9 /Source/SPSplitView.m | |
parent | 83e1b0430ef46225aa1c1108e960c3758d5086e3 (diff) | |
download | sequelpro-28734c995b3f97d8eb50610cfd6d7ad62697d2cb.tar.gz sequelpro-28734c995b3f97d8eb50610cfd6d7ad62697d2cb.tar.bz2 sequelpro-28734c995b3f97d8eb50610cfd6d7ad62697d2cb.zip |
- Fix the SPSplitView helper to correctly restore focus to focussed responders in an expanding view at the end of the animation
- On initial launch, and when changing database, ensure that the window focus is set to the table list or the table list filter or the table list as appropriate. This addresses Issue #1437.
- Clean up some logic
Diffstat (limited to 'Source/SPSplitView.m')
-rw-r--r-- | Source/SPSplitView.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPSplitView.m b/Source/SPSplitView.m index 49097d41..2793fd87 100644 --- a/Source/SPSplitView.m +++ b/Source/SPSplitView.m @@ -1106,7 +1106,7 @@ // Restore the first responder if appropriate if (firstResponderToRestore) { - [[self window] makeFirstResponder:firstResponderToRestore]; + [[wrappedView window] makeFirstResponder:firstResponderToRestore]; } [wrappedView release], wrappedView = nil; |