From 1fea80ee57ff01c32068415f1cb7561dad4fde98 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Mon, 9 Nov 2009 00:13:40 +0000 Subject: Don't run the add new index sheet modally, thus blocking the main thread. Part of issue #357. Also some refactoring. --- Source/TableSource.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Source/TableSource.h') diff --git a/Source/TableSource.h b/Source/TableSource.h index c30a70bd..52030cdb 100644 --- a/Source/TableSource.h +++ b/Source/TableSource.h @@ -71,13 +71,12 @@ // Edit methods - (IBAction)addField:(id)sender; - (IBAction)copyField:(id)sender; -- (IBAction)addIndex:(id)sender; - (IBAction)removeField:(id)sender; - (IBAction)removeIndex:(id)sender; // Index sheet methods - (IBAction)openIndexSheet:(id)sender; -- (IBAction)closeIndexSheet:(id)sender; +- (IBAction)closeSheet:(id)sender; - (IBAction)chooseIndexType:(id)sender; - (void)closeAlertSheet; @@ -97,7 +96,7 @@ - (NSArray *)tableStructureForPrint; // Task interaction -- (void) startDocumentTaskForTab:(NSNotification *)aNotification; -- (void) endDocumentTaskForTab:(NSNotification *)aNotification; +- (void)startDocumentTaskForTab:(NSNotification *)aNotification; +- (void)endDocumentTaskForTab:(NSNotification *)aNotification; @end -- cgit v1.2.3