mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-14 04:24:29 +00:00
remove test on sendAction
This commit is contained in:
1 parent
02430916cb
commit
f4fba64ffb
1 file changed
+1
-2
@@ -358,8 +358,7 @@ CPEraDatePickerElementFlag = 0x0100;
|
||||
_timeInterval = (_datePickerMode == CPSingleDateMode)? 0 : aTimeInterval;
|
||||
[self didChangeValueForKey:@"timeInterval"];
|
||||
|
||||
if ([self action] && [self target])
|
||||
[self sendAction:[self action] to:[self target]];
|
||||
[self sendAction:[self action] to:[self target]];
|
||||
|
||||
if (_datePickerStyle == CPTextFieldAndStepperDatePickerStyle || _datePickerStyle == CPTextFieldDatePickerStyle)
|
||||
[_datePickerTextfield setDateValue:_dateValue];
|
||||
|
||||
Reference in new issue
Block a user