diff options
author | Bradley Sepos <[email protected]> | 2018-03-17 17:36:40 -0400 |
---|---|---|
committer | Bradley Sepos <[email protected]> | 2018-03-17 17:36:40 -0400 |
commit | 3fd13833711dc4bb4aac8987e63442870bda4c4b (patch) | |
tree | 300769bc00c1bb22ca3b18e560a0033428b02cee /macosx/HBRenamePresetController.m | |
parent | d1a3d95ee19797180a88e3013015c9f1696a6429 (diff) |
MacGUI: Fix Rename dialog on 10.7.
Diffstat (limited to 'macosx/HBRenamePresetController.m')
-rw-r--r-- | macosx/HBRenamePresetController.m | 6 |
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:) |