diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-06-23 12:00:49 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-06-23 12:00:49 +0000 |
commit | dc84b62997c3cd70f15d14f60c64d3a9fa163fb3 (patch) | |
tree | fbf7a4452ab1fc09f841c037bde8885d4f5b4205 /Source/TableSource.h | |
parent | 7b9852ea31e5a070a1f862f42f21c53423a3fb9b (diff) | |
download | sequelpro-dc84b62997c3cd70f15d14f60c64d3a9fa163fb3.tar.gz sequelpro-dc84b62997c3cd70f15d14f60c64d3a9fa163fb3.tar.bz2 sequelpro-dc84b62997c3cd70f15d14f60c64d3a9fa163fb3.zip |
• fixed issue for showing an error alert sheet inside of a endSheet selector of an other sheet:
- introduced -(void)showErrorSheetWithTitle:(id)error
-- error is an array of title and message
- this can be called via [self performSelector:@selector(showErrorSheetWithTitle:) withObject: afterDelay:]
- this avoids a crash of the current table window
Diffstat (limited to 'Source/TableSource.h')
-rw-r--r-- | Source/TableSource.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/TableSource.h b/Source/TableSource.h index 9776620e..06528e04 100644 --- a/Source/TableSource.h +++ b/Source/TableSource.h @@ -63,6 +63,8 @@ NSUserDefaults *prefs; } +-(void)showErrorSheetWithTitle:(id)error; + //table methods - (void)loadTable:(NSString *)aTable; - (IBAction)reloadTable:(id)sender; |