Skip to content

Commit

Permalink
Fixed sending of action when control is selected. Works for me ™
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Rust committed Apr 22, 2012
1 parent 2c359b8 commit 932eaf2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sample/Sample/ANSegmentedControl/ANSegmentedControl.m
Expand Up @@ -343,6 +343,7 @@ - (void)mouseDown:(NSEvent *)event

[self setSelectedSegment:newSegment];
[[self window] invalidateCursorRectsForView:self];
[self sendAction:[self action] to:[self target]];

break;
default:
Expand Down

0 comments on commit 932eaf2

Please sign in to comment.