aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-11-01 08:53:14 +0000
committerBibiko <bibiko@eva.mpg.de>2010-11-01 08:53:14 +0000
commita6325dbb88629e7bc5e170bb23955ebf1910c17b (patch)
tree25647bdead544e91aa98765a6f54b6c58e27c3f1 /Source
parent7fbc246fbcbfbe819c27d561650aacd312f2d6b0 (diff)
downloadsequelpro-a6325dbb88629e7bc5e170bb23955ebf1910c17b.tar.gz
sequelpro-a6325dbb88629e7bc5e170bb23955ebf1910c17b.tar.bz2
sequelpro-a6325dbb88629e7bc5e170bb23955ebf1910c17b.zip
• after editing the Custom Query table remain the focus on that table
Diffstat (limited to 'Source')
-rw-r--r--Source/SPCustomQuery.m4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/SPCustomQuery.m b/Source/SPCustomQuery.m
index 4b3ca24b..6eb07277 100644
--- a/Source/SPCustomQuery.m
+++ b/Source/SPCustomQuery.m
@@ -849,6 +849,9 @@
if (selectionIndexToRestore)
[customQueryView selectRowIndexes:selectionIndexToRestore byExtendingSelection:NO];
+ if(reloadingExistingResult)
+ [[tableDocumentInstance parentWindow] makeFirstResponder:customQueryView];
+
[queryRunningPool release];
}
@@ -1952,7 +1955,6 @@
(numberOfPossibleUpdateRows<1)?0:numberOfPossibleUpdateRows, (numberOfPossibleUpdateRows>1)?@"es":@"", [columnDefinition objectForKey:@"org_table"]]);
}
-
}
}