From 1b6f49b0ef8f8dff2504ea8feabf1f104107e00f Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Tue, 17 Dec 2013 19:26:23 +0000 Subject: 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. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@88137 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/PcsxrMemCardController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'macosx/PcsxrMemCardController.m') 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]; -- cgit v1.2.3