From 2b92e1f1ddefdde3d341b88f0f09421e05e02953 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Tue, 4 Aug 2009 17:45:52 +0000 Subject: --- Source/TableContent.m | 4 ++++ 1 file changed, 4 insertions(+) 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; -- cgit v1.2.3