diff options
Diffstat (limited to 'Source/SPEditorPreferencePane.m')
-rw-r--r-- | Source/SPEditorPreferencePane.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPEditorPreferencePane.m b/Source/SPEditorPreferencePane.m index 027b5f8c..792376ff 100644 --- a/Source/SPEditorPreferencePane.m +++ b/Source/SPEditorPreferencePane.m @@ -538,7 +538,7 @@ static NSString *SPCustomColorSchemeNameLC = @"user-defined"; } else if ([contextInfo isEqualToString:SPImportColorScheme]) { if (returnCode == NSOKButton) { - if ([self _loadColorSchemeFromFile:[[panel filenames] objectAtIndex:0]]) { + if ([self _loadColorSchemeFromFile:[[[panel URLs] objectAtIndex:0] path] ]) { [prefs setObject:SPCustomColorSchemeName forKey:SPCustomQueryEditorThemeName]; [self updateDisplayColorThemeName]; } |