summaryrefslogtreecommitdiff
path: root/macosx/HotkeyController.m
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-12-17 19:26:23 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-12-17 19:26:23 +0000
commit1b6f49b0ef8f8dff2504ea8feabf1f104107e00f (patch)
treed19b4044e73ed31dc3de1175222097bdad7a3370 /macosx/HotkeyController.m
parent53eebd991f060e051581c1127c75080d23087dd6 (diff)
downloadpcsxr-1b6f49b0ef8f8dff2504ea8feabf1f104107e00f.tar.gz
Wow, I feel like an idiot: I didn’t realize there was a setStringValue: in NSTextField. Using that instead of setting the title via the cell.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@88137 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/HotkeyController.m')
-rwxr-xr-xmacosx/HotkeyController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HotkeyController.m b/macosx/HotkeyController.m
index 502105dc..58ec0fdd 100755
--- a/macosx/HotkeyController.m
+++ b/macosx/HotkeyController.m
@@ -60,7 +60,7 @@
NSTextField *displayField = (self.hotkeyOutlets)[keyIdent];
if(displayField) {
- [[displayField cell] setStringValue:label];
+ [displayField setStringValue:label];
}
}