summaryrefslogtreecommitdiff
path: root/macosx/PcsxrMemCardController.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/PcsxrMemCardController.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/PcsxrMemCardController.m')
-rwxr-xr-xmacosx/PcsxrMemCardController.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/PcsxrMemCardController.m b/macosx/PcsxrMemCardController.m
index ab3c0a2d..0620fbf4 100755
--- a/macosx/PcsxrMemCardController.m
+++ b/macosx/PcsxrMemCardController.m
@@ -42,7 +42,7 @@
fullPath = [[def URLForKey:@"Mcd1"] path];
fileName = [fm displayNameAtPath:fullPath];
- [[memCard1Label cell] setTitle:fileName];
+ [memCard1Label setStringValue:fileName];
[memCard1Label setToolTip:fullPath];
[self loadMemoryCardInfoForCard:1];
@@ -52,7 +52,7 @@
fullPath = [[def URLForKey:@"Mcd2"] path];
fileName = [fm displayNameAtPath:fullPath];
- [[memCard2Label cell] setTitle:fileName];
+ [memCard2Label setStringValue:fileName];
[memCard2Label setToolTip:fullPath];
[self loadMemoryCardInfoForCard:2];