aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-08-04 17:45:52 +0000
committerBibiko <bibiko@eva.mpg.de>2009-08-04 17:45:52 +0000
commit2b92e1f1ddefdde3d341b88f0f09421e05e02953 (patch)
treeb6b99e84a5a544fa38879608522e4b3fd9c1d04a
parent6abad94d69206b1af2b1bc99771130dc8cf0c3e7 (diff)
downloadsequelpro-2b92e1f1ddefdde3d341b88f0f09421e05e02953.tar.gz
sequelpro-2b92e1f1ddefdde3d341b88f0f09421e05e02953.tar.bz2
sequelpro-2b92e1f1ddefdde3d341b88f0f09421e05e02953.zip
-rw-r--r--Source/TableContent.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/TableContent.m b/Source/TableContent.m
index eaa83905..0e724a45 100644
--- a/Source/TableContent.m
+++ b/Source/TableContent.m
@@ -436,6 +436,10 @@
*/
- (IBAction)reloadTableValues:(id)sender
{
+
+ //if no table is selected return
+ if(!selectedTable) return;
+
NSString *queryString;
MCPResult *queryResult;