mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-22 07:10:40 +01:00
[escher] in menu list cell, change name contentView->accessoryView
Change-Id: Ide0ce134f83b6b491b66bc6df9900a1928888a8a
This commit is contained in:
@@ -29,7 +29,7 @@ void ParameterController::didBecomeFirstResponder() {
|
||||
|
||||
void ParameterController::willDisplayCellForIndex(TableViewCell * cell, int index) {
|
||||
if (cell == &m_enableCell) {
|
||||
SwitchView * switchView = (SwitchView *)m_enableCell.contentView();
|
||||
SwitchView * switchView = (SwitchView *)m_enableCell.accessoryView();
|
||||
switchView->setState(m_function->isActive());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user