aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPWindowAdditions.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPWindowAdditions.m')
-rw-r--r--Source/SPWindowAdditions.m4
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)