aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableDump.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/TableDump.m')
-rw-r--r--Source/TableDump.m11
1 files changed, 7 insertions, 4 deletions
diff --git a/Source/TableDump.m b/Source/TableDump.m
index c835b526..04942462 100644
--- a/Source/TableDump.m
+++ b/Source/TableDump.m
@@ -38,6 +38,7 @@
#import "RegexKitLite.h"
#import "SPConstants.h"
#import "SPAlertSheets.h"
+#import "SPFieldMapperController.h"
@implementation TableDump
@@ -109,11 +110,7 @@
- (IBAction)closeFieldMapperSheet:(id)sender
{
-
[NSApp endSheet:fieldMappingSheet returnCode:[sender tag]];
- // [[self window] orderOut:self];
- //
- // [NSApp endSheet:fieldMappingSheet];
}
/**
@@ -1216,7 +1213,11 @@
fieldMapperSheetStatus = 1;
+ // if(fieldMapperController) [fieldMapperController release];
+ // fieldMapperController = [[SPFieldMapperController alloc] initWithDelegate:self];
+
// Show fieldMapping sheet
+ // [NSApp beginSheet:[fieldMapperController window]
[NSApp beginSheet:fieldMappingSheet
modalForWindow:tableWindow
modalDelegate:self
@@ -1227,6 +1228,8 @@
while (fieldMapperSheetStatus == 1)
usleep(100000);
+ // if(fieldMapperController) [fieldMapperController release];
+
if(fieldMapperSheetStatus == 2)
return YES;
else