aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseDocument.m
diff options
context:
space:
mode:
authorGuillermo Ignacio Enriquez Gutierrez <ignacio@jp.ibm.com>2015-08-22 18:12:54 +0900
committerGuillermo Ignacio Enriquez Gutierrez <ignacio@jp.ibm.com>2015-08-22 18:12:54 +0900
commitfaa74fd74f4ce3fbaeff1dd1d3fc5b705ec7f09b (patch)
tree4ebe53db221cab510c1d939b653d0b0e2241c1c0 /Source/SPDatabaseDocument.m
parentcf83388bb64f10d815653382554f6e436b3bc161 (diff)
downloadsequelpro-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.m3
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
);
}