diff options
author | stuconnolly <stuart02@gmail.com> | 2012-02-19 16:25:19 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2012-02-19 16:25:19 +0000 |
commit | 2483cd22f74239d2a06c83f1c5d9a25eaab44a7c (patch) | |
tree | 2a8a527b3f418c257e65156efb582f818324c812 /Source/SPEditorPreferencePane.m | |
parent | b7bd2ae9a683652920a6c772eadeca2bac1e7b91 (diff) | |
download | sequelpro-2483cd22f74239d2a06c83f1c5d9a25eaab44a7c.tar.gz sequelpro-2483cd22f74239d2a06c83f1c5d9a25eaab44a7c.tar.bz2 sequelpro-2483cd22f74239d2a06c83f1c5d9a25eaab44a7c.zip |
Bring outline view branch up to date with trunk (r3471:r3481).
Diffstat (limited to 'Source/SPEditorPreferencePane.m')
-rw-r--r-- | Source/SPEditorPreferencePane.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPEditorPreferencePane.m b/Source/SPEditorPreferencePane.m index 08e91936..f2802180 100644 --- a/Source/SPEditorPreferencePane.m +++ b/Source/SPEditorPreferencePane.m @@ -128,7 +128,7 @@ static NSString *SPCustomColorSchemeNameLC = @"user-defined"; { NSSavePanel *panel = [NSSavePanel savePanel]; - [panel setRequiredFileType:SPColorThemeFileExtension]; + [panel setAllowedFileTypes:[NSArray arrayWithObject:SPColorThemeFileExtension]]; [panel setExtensionHidden:NO]; [panel setAllowsOtherFileTypes:NO]; @@ -521,7 +521,7 @@ static NSString *SPCustomColorSchemeNameLC = @"user-defined"; { if ([contextInfo isEqualToString:SPExportColorScheme]) { if (returnCode == NSOKButton) { - [self _saveColorThemeAtPath:[panel filename]]; + [self _saveColorThemeAtPath:[[panel URL] path]]; } } else if ([contextInfo isEqualToString:SPImportColorScheme]) { |