diff options
author | stuconnolly <stuart02@gmail.com> | 2010-05-28 16:21:37 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2010-05-28 16:21:37 +0000 |
commit | 11c54136a6c919e933ec3c26a3eca512da9fae7b (patch) | |
tree | f3fddedab5463b4bc3a21bc6103a4f2d6aecaa7b /Source/SPWindowAdditions.m | |
parent | a3cdae0d22d41758152fd864f49bb894c1bd464e (diff) | |
download | sequelpro-11c54136a6c919e933ec3c26a3eca512da9fae7b.tar.gz sequelpro-11c54136a6c919e933ec3c26a3eca512da9fae7b.tar.bz2 sequelpro-11c54136a6c919e933ec3c26a3eca512da9fae7b.zip |
Rename TableDocument to SPDatabaseDocument.
Diffstat (limited to 'Source/SPWindowAdditions.m')
-rw-r--r-- | Source/SPWindowAdditions.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPWindowAdditions.m b/Source/SPWindowAdditions.m index f74d92c4..f5c77919 100644 --- a/Source/SPWindowAdditions.m +++ b/Source/SPWindowAdditions.m @@ -24,7 +24,7 @@ // More info at <http://code.google.com/p/sequel-pro/> #import "SPWindowAdditions.h" -#import "TableDocument.h" +#import "SPDatabaseDocument.h" @implementation NSWindow (SPWindowAdditions) @@ -81,7 +81,7 @@ // ------------------------------------------------------------------------------- - (void)swipeWithEvent:(NSEvent *)anEvent { - if([[self delegate] isKindOfClass:[TableDocument class]] + if([[self delegate] isKindOfClass:[SPDatabaseDocument class]] && [[self delegate] valueForKeyPath:@"spHistoryControllerInstance"] && ![[self delegate] isWorking]) if([anEvent deltaX] == -1.0f) |