diff options
Diffstat (limited to 'macosx/plugins/DFSound/macsrc/NamedSlider.m')
| -rwxr-xr-x | macosx/plugins/DFSound/macsrc/NamedSlider.m | 11 |
1 files changed, 9 insertions, 2 deletions
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 |
