diff options
author | Guillermo Ignacio Enriquez Gutierrez <ignacio@jp.ibm.com> | 2015-08-22 18:12:54 +0900 |
---|---|---|
committer | Guillermo Ignacio Enriquez Gutierrez <ignacio@jp.ibm.com> | 2015-08-22 18:12:54 +0900 |
commit | faa74fd74f4ce3fbaeff1dd1d3fc5b705ec7f09b (patch) | |
tree | 4ebe53db221cab510c1d939b653d0b0e2241c1c0 /Source/SPDatabaseDocument.m | |
parent | cf83388bb64f10d815653382554f6e436b3bc161 (diff) | |
download | sequelpro-faa74fd74f4ce3fbaeff1dd1d3fc5b705ec7f09b.tar.gz sequelpro-faa74fd74f4ce3fbaeff1dd1d3fc5b705ec7f09b.tar.bz2 sequelpro-faa74fd74f4ce3fbaeff1dd1d3fc5b705ec7f09b.zip |
Added extra parameter to SPOnewayAlertSheet and runs runModal if no window was provided.
Diffstat (limited to 'Source/SPDatabaseDocument.m')
-rw-r--r-- | Source/SPDatabaseDocument.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m index 1793cf60..5c0553f8 100644 --- a/Source/SPDatabaseDocument.m +++ b/Source/SPDatabaseDocument.m @@ -6162,7 +6162,8 @@ static int64_t SPDatabaseDocumentInstanceCounter = 0; NSLocalizedString(@"Error", @"error"), nil, parentWindow, - [NSString stringWithFormat:NSLocalizedString(@"Unable to select database %@.\nPlease check you have the necessary privileges to view the database, and that the database still exists.", @"message of panel when connection to db failed after selecting from popupbutton"), targetDatabaseName] + [NSString stringWithFormat:NSLocalizedString(@"Unable to select database %@.\nPlease check you have the necessary privileges to view the database, and that the database still exists.", @"message of panel when connection to db failed after selecting from popupbutton"), targetDatabaseName], + NSWarningAlertStyle ); } |