invoking check box toggle state, only when the check box is enabled.
This commit is contained in:
parent
6ac8fb9f1d
commit
35763a8e61
@ -76,7 +76,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
public override func didSelectCell(at index: IndexPath, delegateObject: MVMCoreUIDelegateObject?, additionalData: [AnyHashable: Any]?) {
|
public override func didSelectCell(at index: IndexPath, delegateObject: MVMCoreUIDelegateObject?, additionalData: [AnyHashable: Any]?) {
|
||||||
checkbox.isSelected.toggle()
|
if checkbox.isEnabled {
|
||||||
|
checkbox.isSelected.toggle()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------
|
//----------------------------------------------------
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user