mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-25 16:50:50 +01:00
[apps] Fix bug in settings: do not set the sub controller table as first
responder when no cell is selected
This commit is contained in:
committed by
EmilieNumworks
parent
afddb87cd4
commit
b47cdbb87a
@@ -265,6 +265,8 @@ void SubController::tableViewDidChangeSelection(SelectableTableView * t, int pre
|
||||
if (previousSelectedCellY == numberOfRows()-1) {
|
||||
MessageTableCellWithEditableText * myCell = (MessageTableCellWithEditableText *)t->cellAtLocation(previousSelectedCellX, previousSelectedCellY);
|
||||
myCell->setEditing(false);
|
||||
}
|
||||
if (t->selectedRow() >= 0 && t->selectedRow() < numberOfRows()-1) {
|
||||
app()->setFirstResponder(&m_selectableTableView);
|
||||
}
|
||||
if (t->selectedRow() == numberOfRows() -1) {
|
||||
|
||||
Reference in New Issue
Block a user