summaryrefslogtreecommitdiffstats
path: root/macosx/HBRenamePresetController.m
diff options
context:
space:
mode:
authorBradley Sepos <[email protected]>2018-03-17 17:36:40 -0400
committerBradley Sepos <[email protected]>2018-03-17 17:36:40 -0400
commit3fd13833711dc4bb4aac8987e63442870bda4c4b (patch)
tree300769bc00c1bb22ca3b18e560a0033428b02cee /macosx/HBRenamePresetController.m
parentd1a3d95ee19797180a88e3013015c9f1696a6429 (diff)
MacGUI: Fix Rename dialog on 10.7.
Diffstat (limited to 'macosx/HBRenamePresetController.m')
-rw-r--r--macosx/HBRenamePresetController.m6
1 files changed, 5 insertions, 1 deletions
diff --git a/macosx/HBRenamePresetController.m b/macosx/HBRenamePresetController.m
index be87fe002..2b788da32 100644
--- a/macosx/HBRenamePresetController.m
+++ b/macosx/HBRenamePresetController.m
@@ -41,7 +41,11 @@
{
[super windowDidLoad];
- self.name.stringValue = self.name.placeholderString = self.preset.name;
+ if (NSAppKitVersionNumber >= NSAppKitVersionNumber10_9)
+ {
+ self.name.placeholderString = self.preset.name;
+ }
+ self.name.stringValue = self.preset.name;
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(controlTextDidChange:)