[apps/settings] Correct bug: deselect table when disappearing

Change-Id: I7e14052b74ab9145afcdfd36532817f6759c5e6d
This commit is contained in:
Émilie Feral
2017-03-15 17:49:50 +01:00
parent 9186792e40
commit 6847ff77d0
2 changed files with 5 additions and 0 deletions

View File

@@ -109,6 +109,10 @@ void SubController::viewWillAppear() {
m_selectableTableView.reloadData();
}
void SubController::viewWillDisappear() {
m_selectableTableView.deselectTable();
}
StackViewController * SubController::stackController() const {
return (StackViewController *)parentResponder();
}