aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableContent.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-08-07 23:57:16 +0000
committerrowanbeentje <rowan@beent.je>2009-08-07 23:57:16 +0000
commit2297b13252ee7149606ecd4544898614f0ac9298 (patch)
treee9d704588859ba7b18a783f5ae214052d68fa8bf /Source/TableContent.m
parent67a72bc3a598528f9d45010716df3554dd882241 (diff)
downloadsequelpro-2297b13252ee7149606ecd4544898614f0ac9298.tar.gz
sequelpro-2297b13252ee7149606ecd4544898614f0ac9298.tar.bz2
sequelpro-2297b13252ee7149606ecd4544898614f0ac9298.zip
Merge in recent fixes from trunk for 0.9.6 release:
- r1145 (Custom Query completion fixes) - r1148 (CSV file import reload bugfix) - Parts of r1150 (history navigation no longer generates invalid states) - r1172 (Add to favorites and favorites saving fixes)
Diffstat (limited to 'Source/TableContent.m')
-rw-r--r--Source/TableContent.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/TableContent.m b/Source/TableContent.m
index 1e470112..6492b09d 100644
--- a/Source/TableContent.m
+++ b/Source/TableContent.m
@@ -436,6 +436,9 @@
*/
- (IBAction)reloadTableValues:(id)sender
{
+ // If no table is selected return
+ if (!selectedTable) return;
+
NSString *queryString;
MCPResult *queryResult;