File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 25442544 <action selector =" renameNode:" target =" -2" id =" 5819" />
25452545 </connections >
25462546 </menuItem >
2547- <menuItem title =" Remove " id =" 5794" >
2547+ <menuItem title =" Delete " id =" 5794" >
25482548 <modifierMask key =" keyEquivalentModifierMask" />
25492549 <connections >
25502550 <action selector =" removeNode:" target =" -2" id =" 5802" />
Original file line number Diff line number Diff line change @@ -4474,6 +4474,7 @@ - (void)tabDidResize
44744474{
44754475 // Coax the main split view into actually checking its constraints
44764476 [contentViewSplitter setPosition: [[[contentViewSplitter subviews ] objectAtIndex: 0 ] bounds ].size.width ofDividerAtIndex: 0 ];
4477+
44774478 // If the task interface is visible, and this tab is frontmost, re-center the task child window
44784479 if (_isWorkingLevel && [parentWindowController selectedTableDocument ] == self) [self centerTaskWindow ];
44794480}
@@ -4482,17 +4483,19 @@ - (void)tabDidResize
44824483/* *
44834484 * Set the parent window
44844485 */
4485- - (void )setParentWindow: (NSWindow *)aWindow
4486+ - (void )setParentWindow: (NSWindow *)window
44864487{
4487- #ifndef SP_CODA
4488+ NSWindow *favoritesOutlineViewWindow = [(NSView *)[connectionController favoritesOutlineView ] window ];
4489+
44884490 // If the window is being set for the first time - connection controller is visible - update focus
4489- if (!parentWindow && !mySQLConnection) {
4490- [aWindow makeFirstResponder: (NSResponder *)[connectionController favoritesOutlineView ]];
4491+ if (!parentWindow && !mySQLConnection && window == favoritesOutlineViewWindow ) {
4492+ [window makeFirstResponder: (NSResponder *)[connectionController favoritesOutlineView ]];
44914493 }
4492- #endif
44934494
4494- parentWindow = aWindow;
4495+ parentWindow = window;
4496+
44954497 SPSSHTunnel *currentTunnel = [connectionController valueForKeyPath: @" sshTunnel" ];
4498+
44964499 if (currentTunnel) [currentTunnel setParentWindow: parentWindow];
44974500}
44984501
You can’t perform that action at this time.
0 commit comments