From 460faedba401d0f1a754e8d3b9d4fd1c853d9413 Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Thu, 29 Aug 2013 23:36:29 +0000 Subject: Re-working how DFInput on OS X stores preferences, making it match the rest of the OS X plug-ins. Do some localization support work on DFInput on OS X. Bump the version in the info.plist file for DFInput to 1.5. Other code changes and improvements on the Mac port. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87023 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/plugins/DFSound/macsrc/NamedSlider.m | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'macosx/plugins/DFSound/macsrc/NamedSlider.m') diff --git a/macosx/plugins/DFSound/macsrc/NamedSlider.m b/macosx/plugins/DFSound/macsrc/NamedSlider.m index 55322742..8411481d 100755 --- a/macosx/plugins/DFSound/macsrc/NamedSlider.m +++ b/macosx/plugins/DFSound/macsrc/NamedSlider.m @@ -2,18 +2,18 @@ @implementation NamedSlider @synthesize pluginClass; +@synthesize strings; #if !__has_feature(objc_arc) - (void)dealloc { self.strings = nil; + self.pluginClass = nil; [super dealloc]; } #endif -@synthesize strings; - - (NSString *)stringValue { NSInteger index = [self integerValue]; @@ -34,4 +34,11 @@ [self sendAction:[self action] to:[self target]]; } +- (void)setIntegerValue:(NSInteger)anInteger +{ + [super setIntegerValue:anInteger]; + [self sendAction:[self action] to:[self target]]; +} + + @end -- cgit v1.2.3