aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TablesList.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2009-11-09 00:13:40 +0000
committerstuconnolly <stuart02@gmail.com>2009-11-09 00:13:40 +0000
commit1fea80ee57ff01c32068415f1cb7561dad4fde98 (patch)
tree048a05b2ae57a8fc513f49f05957459cf539b3d5 /Source/TablesList.m
parent6ca2e9dfe85b7df4c07439ac1f256fcb4887a421 (diff)
downloadsequelpro-1fea80ee57ff01c32068415f1cb7561dad4fde98.tar.gz
sequelpro-1fea80ee57ff01c32068415f1cb7561dad4fde98.tar.bz2
sequelpro-1fea80ee57ff01c32068415f1cb7561dad4fde98.zip
Don't run the add new index sheet modally, thus blocking the main thread. Part of issue #357. Also some refactoring.
Diffstat (limited to 'Source/TablesList.m')
-rw-r--r--Source/TablesList.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/TablesList.m b/Source/TablesList.m
index c5102121..e35b65e1 100644
--- a/Source/TablesList.m
+++ b/Source/TablesList.m
@@ -497,7 +497,7 @@
- (void)sheetDidEnd:(id)sheet returnCode:(int)returnCode contextInfo:(NSString *)contextInfo
{
// Order out current sheet to suppress overlapping of sheets
- if([sheet respondsToSelector:@selector(orderOut:)])
+ if ([sheet respondsToSelector:@selector(orderOut:)])
[sheet orderOut:nil];
if ([contextInfo isEqualToString:@"addRow"]) {