diff options
Diffstat (limited to 'Source/SPServerVariablesController.m')
-rw-r--r-- | Source/SPServerVariablesController.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPServerVariablesController.m b/Source/SPServerVariablesController.m index e0796454..dedda57b 100644 --- a/Source/SPServerVariablesController.m +++ b/Source/SPServerVariablesController.m @@ -25,6 +25,7 @@ #import "SPServerVariablesController.h" #import "SPDatabaseDocument.h" +#import "SPAppController.h" @interface SPServerVariablesController (PrivateAPI) @@ -166,7 +167,7 @@ { if (returnCode == NSOKButton) { if ([variablesFiltered count] > 0) { - NSMutableString *variablesString = [NSMutableString stringWithFormat:@"# MySQL server variables for %@\n\n", [[[NSApp delegate] frontDocument] host]]; + NSMutableString *variablesString = [NSMutableString stringWithFormat:@"# MySQL server variables for %@\n\n", [[(SPAppController*)[NSApp delegate] frontDocument] host]]; for (NSDictionary *variable in variablesFiltered) { |