diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-02-05 20:09:53 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-02-05 20:09:53 +0000 |
commit | bd69a9eccea56335422d13b8eddbd2aec79c839f (patch) | |
tree | 867a026df5833fd4b67c086c05071ac70995ba91 /Source/TableDump.m | |
parent | 543e9593ff7878af9836df11c3eee3f6fce7101e (diff) | |
download | sequelpro-bd69a9eccea56335422d13b8eddbd2aec79c839f.tar.gz sequelpro-bd69a9eccea56335422d13b8eddbd2aec79c839f.tar.bz2 sequelpro-bd69a9eccea56335422d13b8eddbd2aec79c839f.zip |
• some further work at the new field mapper sheet
Diffstat (limited to 'Source/TableDump.m')
-rw-r--r-- | Source/TableDump.m | 11 |
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 |