calculation_selectable_table_view.cpp 433 Bytes
#include "calculation_selectable_table_view.h"

namespace Statistics {

bool CalculationSelectableTableView::handleEvent(Ion::Events::Event event) {
  if (event == Ion::Events::Up && selectedColumn() == 0 && selectedRow() == 1) {
    return false;
  }
  if (event == Ion::Events::Left && selectedColumn() == 1 && selectedRow() == 0) {
    return selectCellAtLocation(0, 1);
  }
  return SelectableTableView::handleEvent(event);
}

}