[apps/calculation] EditExpressionController accesses subview directly

This commit is contained in:
Ruben Dashyan
2020-03-11 15:24:36 +01:00
committed by Émilie Feral
parent 63ab8710b9
commit 167827f0e4
3 changed files with 1 additions and 6 deletions

View File

@@ -223,10 +223,6 @@ int HistoryController::typeAtLocation(int i, int j) {
return 0;
}
void HistoryController::scrollToCell(int i, int j) {
m_selectableTableView.scrollToCell(i, j);
}
bool HistoryController::calculationAtIndexToggles(int index) {
Context * context = App::app()->localContext();
return index >= 0 && index < m_calculationStore->numberOfCalculations() && calculationAtIndex(index)->displayOutput(context) == Calculation::DisplayOutput::ExactAndApproximateToggle;