Skip to content

Commit

Permalink
fix dzenbot#58 in upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
bellchen committed Sep 30, 2015
1 parent 50e6a42 commit eb1d473
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/DZNSegmentedControl.m
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,7 @@ - (void)setSelectedSegmentIndex:(NSInteger)segment animated:(BOOL)animated
void (^completion)(BOOL finished) = ^void(BOOL finished){
self.userInteractionEnabled = YES;
_transitioning = NO;
[self.buttons[segment] setSelected:YES];
};

if (animated) {
Expand Down

0 comments on commit eb1d473

Please sign in to comment.