diff options
author | rowanbeentje <rowan@beent.je> | 2012-04-19 00:00:10 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2012-04-19 00:00:10 +0000 |
commit | 3be7eafd0a5c8c2e75aec41bc1d5b1323c69e6b7 (patch) | |
tree | 0ec35e7f2f41f83effbb731426a72dfb9a23651f /Source | |
parent | 497ab60346e74927fb7980734799d1e57af541d5 (diff) | |
download | sequelpro-3be7eafd0a5c8c2e75aec41bc1d5b1323c69e6b7.tar.gz sequelpro-3be7eafd0a5c8c2e75aec41bc1d5b1323c69e6b7.tar.bz2 sequelpro-3be7eafd0a5c8c2e75aec41bc1d5b1323c69e6b7.zip |
- Improve table change engine confirmation dialog by ordering out the sheet once it's dismissed to prevent issues when errors occur
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPExtendedTableInfo.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/SPExtendedTableInfo.m b/Source/SPExtendedTableInfo.m index 23f3c426..260c90fd 100644 --- a/Source/SPExtendedTableInfo.m +++ b/Source/SPExtendedTableInfo.m @@ -526,6 +526,7 @@ static NSString *SPUpdateTableTypeNewType = @"SPUpdateTableTypeNewType"; */ - (void)confirmChangeTableTypeDidEnd:(NSAlert *)alert returnCode:(NSInteger)returnCode contextInfo:(NSDictionary *)contextInfo { + [[alert window] orderOut:self]; if (returnCode == NSAlertDefaultReturn) { [self _changeCurrentTableTypeFrom:[contextInfo objectForKey:SPUpdateTableTypeCurrentType] to:[contextInfo objectForKey:SPUpdateTableTypeNewType]]; |