[apps/home/controller] Remove dummy

This commit is contained in:
Ruben Dashyan
2019-06-27 13:49:52 +02:00
committed by EmilieNumworks
parent 21907fb89a
commit a124f456c6

View File

@@ -80,8 +80,6 @@ bool Controller::handleEvent(Ion::Events::Event event) {
void Controller::didBecomeFirstResponder() {
if (m_selectionDataSource->selectedRow() == -1) {
m_selectionDataSource->selectCellAtLocation(0, 0);
} else {
m_selectionDataSource->selectCellAtLocation(m_selectionDataSource->selectedColumn(), m_selectionDataSource->selectedRow());
}
app()->setFirstResponder(m_view.selectableTableView());
}