aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPEditorPreferencePane.m
diff options
context:
space:
mode:
authorStuart Connolly <stuart02@gmail.com>2017-03-23 18:40:00 +0000
committerStuart Connolly <stuart02@gmail.com>2017-03-23 18:40:00 +0000
commit30d36cbe3be216742156fffded790bf95bfc2622 (patch)
treea42d69f347c0b3a351a358fad91c78435c5e60b2 /Source/SPEditorPreferencePane.m
parentd37a2f490a271b6170a5c2978f505fb403d1ad64 (diff)
downloadsequelpro-30d36cbe3be216742156fffded790bf95bfc2622.tar.gz
sequelpro-30d36cbe3be216742156fffded790bf95bfc2622.tar.bz2
sequelpro-30d36cbe3be216742156fffded790bf95bfc2622.zip
Remove duplicate setting of sheet title/message.
Diffstat (limited to 'Source/SPEditorPreferencePane.m')
-rw-r--r--Source/SPEditorPreferencePane.m3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/SPEditorPreferencePane.m b/Source/SPEditorPreferencePane.m
index 7eaecf47..0428984a 100644
--- a/Source/SPEditorPreferencePane.m
+++ b/Source/SPEditorPreferencePane.m
@@ -749,7 +749,7 @@ static NSString *SPCustomColorSchemeNameLC = @"user-defined";
[[NSColorPanel sharedColorPanel] close];
- [SPAlertSheets beginWaitingAlertSheetWithTitle:@"title"
+ [SPAlertSheets beginWaitingAlertSheetWithTitle:NSLocalizedString(@"Unsaved Theme", @"unsaved theme message")
defaultButton:NSLocalizedString(@"Proceed", @"proceed button")
alternateButton:NSLocalizedString(@"Cancel", @"cancel button")
otherButton:nil
@@ -758,7 +758,6 @@ static NSString *SPCustomColorSchemeNameLC = @"user-defined";
modalDelegate:self
didEndSelector:@selector(checkForUnsavedThemeDidEndSheet:returnCode:contextInfo:)
contextInfo:nil
- msg:NSLocalizedString(@"Unsaved Theme", @"unsaved theme message")
infoText:NSLocalizedString(@"The current color theme is unsaved. Do you want to proceed without saving it?", @"unsaved theme informative message")
returnCode:&checkForUnsavedThemeSheetStatus];