aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPEditorPreferencePane.m
diff options
context:
space:
mode:
authorStuart Connolly <stuart02@gmail.com>2013-11-30 21:27:36 +0000
committerStuart Connolly <stuart02@gmail.com>2013-11-30 21:27:36 +0000
commit0a336a7123f411d5ffc68019bf8b5c3a360551b9 (patch)
tree2d0096e15ebac531b9271fe2a473da0acc7276a5 /Source/SPEditorPreferencePane.m
parent1413739842750c89d7a29a1f04ef587d73dd2edb (diff)
downloadsequelpro-0a336a7123f411d5ffc68019bf8b5c3a360551b9.tar.gz
sequelpro-0a336a7123f411d5ffc68019bf8b5c3a360551b9.tar.bz2
sequelpro-0a336a7123f411d5ffc68019bf8b5c3a360551b9.zip
Remove use of deprecated methods.
Diffstat (limited to 'Source/SPEditorPreferencePane.m')
-rw-r--r--Source/SPEditorPreferencePane.m2
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];
}