aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPExportController.m
diff options
context:
space:
mode:
authoravenjamin <avenjamin@gmail.com>2009-06-10 11:25:33 +0000
committeravenjamin <avenjamin@gmail.com>2009-06-10 11:25:33 +0000
commit65ad99e8fdbce63bcf65151d5f77403683959349 (patch)
tree969beaba0b5058f39d9668f67b3a9352806c55ad /Source/SPExportController.m
parent33f0e7a530714b3f95ef45860565934528b2f575 (diff)
downloadsequelpro-65ad99e8fdbce63bcf65151d5f77403683959349.tar.gz
sequelpro-65ad99e8fdbce63bcf65151d5f77403683959349.tar.bz2
sequelpro-65ad99e8fdbce63bcf65151d5f77403683959349.zip
- Table Info pane now has fixed height
- Table Info pane is collapsable - Export Controller code cleanup
Diffstat (limited to 'Source/SPExportController.m')
-rw-r--r--Source/SPExportController.m13
1 files changed, 10 insertions, 3 deletions
diff --git a/Source/SPExportController.m b/Source/SPExportController.m
index d0cc34f9..bd72c9d2 100644
--- a/Source/SPExportController.m
+++ b/Source/SPExportController.m
@@ -32,10 +32,17 @@
-(void)export
{
- if ([NSBundle loadNibNamed:@"ExportDialog" owner:self]) {
- [self loadTables];
- [NSApp beginSheet:exportWindow modalForWindow:tableWindow modalDelegate:self didEndSelector:@selector(sheetDidEnd:returnCode:contextInfo:) contextInfo:nil];
+ if (!exportWindow) {
+ [NSBundle loadNibNamed:@"ExportDialog" owner:self];
}
+
+ [self loadTables];
+
+ [NSApp beginSheet:exportWindow
+ modalForWindow:tableWindow
+ modalDelegate:self
+ didEndSelector:@selector(sheetDidEnd:returnCode:contextInfo:)
+ contextInfo:nil];
}
- (IBAction)closeSheet:(id)sender